Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drewbrokke/nscript
Quickly create and manage shell scripts
https://github.com/drewbrokke/nscript
Last synced: about 2 months ago
JSON representation
Quickly create and manage shell scripts
- Host: GitHub
- URL: https://github.com/drewbrokke/nscript
- Owner: drewbrokke
- License: mit
- Created: 2020-10-16T20:12:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-16T20:35:44.000Z (almost 4 years ago)
- Last Synced: 2024-06-10T01:33:50.964Z (4 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nscript
```
nscript - create and manage bash scriptsUsage:
nscript [-adfhlos]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 messageOptions:
-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 scriptExamples:
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
```