Skip to content

The list Command

List all available scripts in the myshell directory.

msh list [tag]

Arguments

  • tag: Only list scripts that contain the tag (optional).

Flags

  • -collection, -c: Print the collection of the scripts.
  • -group, -g: Group the scripts by their collection.
  • -simple, -s: Print the scripts in a simple format.

Example

shell
$ msh list web -s
Filtering by tag: web
Available scripts:
  npi - Alias for the 'npm install' command [npm,web,js]
  npr - Alias for the 'npm run' command [npm,web,js]
  nps - Alias for the 'npm start' command [npm,web,js]
  svelte-new - Start a new svelte project [web,svelte,npm]