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.
  • -time, -t: Print when the script was last modified.
  • -path, -p: Print the absolute path of the script instead of the description.

Example

shell
$ msh list web -simple -time
Filtering by tag: web
Available scripts:
  npi - Alias for the 'npm install' command [npm,web,js] (2025-04-04)
  npr - Alias for the 'npm run' command [npm,web,js] (2025-04-05)
  nps - Alias for the 'npm start' command [npm,web,js] (2025-04-07)
  svelte-new - Start a new svelte project [web,svelte,npm] (2025-04-02)