mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-30 21:57:44 +00:00

The [cookbook intro page](https://www.nushell.sh/cookbook/) gives an example of a oneliner that I recently changed to imply is one of the oneliners from this repo (nushell/nushell.github.io#1205), however that oneliner isn't actually in this repo. This adds that oneliner to the repo. I also replaced the mention of the \#cool-oneliners channel that was renamed to \#cool-scripts to just mention the general Nushell community.
2 lines
140 B
Text
2 lines
140 B
Text
# Makes an http request to a URL and gets the "value" field off the JSON response.
|
|
(http get https://api.chucknorris.io/jokes/random).value
|