The new
Command
Create a new script.
msh new <new-script-name> [collection-name]
Arguments
new-script-name
: The name of the new script.collection-name
: The name of the collection to add the script to. Default can be defined in the config (optional).
Flags
-edit, -e
: Open the script in the default editor after creation.-man, -m
: Add a manual template to the script.
Example
shell
$ msh new npi my-collection -man
Script 'npi' created (~/.myshell/my-collection/npi)