Skip to content

The restore Command

Restore a deleted script from the trash to a collection.

msh restore <script> [collection-name]

Arguments

  • script: The name of the script to restore.
  • collection-name: The name of the collection to restore the script to. If not provided, the script will be restored to the default collection (optional).

Example

shell
$ msh restore npi web
Restored script 'npi' to collection 'web'