mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
create a home for cool one liners
I was inspired to create this directory from conversation in #general. I feel like capturing any and all unstructured one-liners would be a wonderful resource for learning nu. It could open doors for automation. For example, we mirror contributions to `cool_oneliners` to the discord channel.
This commit is contained in:
parent
2926a45137
commit
2e7a39ed28
1 changed files with 19 additions and 0 deletions
19
cool_oneliners/README.md
Normal file
19
cool_oneliners/README.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# cool oneliners
|
||||||
|
|
||||||
|
Capturing oneliners to and from the nushell Discourse channel `#cool-oneliners`.
|
||||||
|
|
||||||
|
Consider these a living library.
|
||||||
|
Or an ongoing story of how people actually use `nu`.
|
||||||
|
|
||||||
|
## Naming and script requirements
|
||||||
|
|
||||||
|
- the filename should be an abbreviation of the general topic of the script
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git_batch_extract.nu
|
||||||
|
```
|
||||||
|
|
||||||
|
- the script should have two lines
|
||||||
|
- the first line should be a comment describing the script's purpose
|
||||||
|
- the second line should be the cool oneliner
|
Loading…
Add table
Add a link
Reference in a new issue