1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

add an example oneliner

I stole this from @rrichardson's post on 8/16/20 and combined @jturner's
suggestion.
This commit is contained in:
Eli Flanagan 2021-04-08 16:03:31 -04:00
parent 2e7a39ed28
commit 6c7298dd0a

View file

@ -0,0 +1,2 @@
# Increment the minor version for any package.json in the current directory (eigenrick — 08/16/2020)
ls */package.json | each { open $it.name | inc version --minor | to json --pretty 2 | save --raw }