savescript
v0.0.4
Published
save command line scripts with ease
Downloads
10
Readme
savescript
Description
Simple command line utility which facilitates automating zsh/bash/sh scripts
Typical Usage
Via last command:
➜ ~ echo "foo"
foo
➜ ~ savescript foo
➜ ~ foo
foo
Via pipe:
➜ ~ echo "bar" | savescript bar
➜ ~ bar
bar
First Time Usage
➜ ~ sudo npm i -g savescript
...
➜ ~ echo "my first script"
my first script
➜ ~ savescript first-script
First time running savescript detected. Please type "source /home/kev/.zshrc" or reload your shell.
➜ ~ source /home/kev/.zshrc
➜ ~ first-script
my first script