nscript - create and manage bash scripts
Usage:
nscript [-adfhlos] <script name>
Flags:
-a : Open the scripts folder in EDITOR (or NSCRIPT_EDITOR if the variable is defined)
-f : Bypasses deletion prompt. Only works with "-d"
-l : List all scripts managed by nscript
-h : Display this help message
Options:
-d <script name> : Delete the named script. Will prompt for confirmation
-o <script name> : Open the named script in EDITOR (or NSCRIPT_EDITOR if the variable is defined)
-p <script name> : Print the named script to the standard output
-r <old script name> <new script name> : Rename an existing script
-s <script address> <script name> : Create a new script from an existing local or remote script
Examples:
nscript mynewscript
nscript -o mynewscript
nscript -fd mynewscript
nscript -s ~/path/to/local/script/mylocalcript.sh mynewscript
nscript -s https://example.com/path/to/remote/script/remotescript.sh mynewscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Quickly create and manage shell scripts
License
drewbrokke/nscript
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Quickly create and manage shell scripts
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published