nfirvine.comwiki

CLI

Filed in: Yamsh.CLI · Modified on : Sat, 14 Nov 09

This page details the features and usage of the command-line interface used in yamsh scripting.

Executing apps

Apps are executed in the usual way, by typing the name of the app and hitting Enter:

$ pwd
/home/fezzick

Apps can be passed switches with + for on, true, or yes and - for off, false, or no:

$ ls +hidden -softlink
[.yamshrc, feefifofum.txt]

... and can be passed keyword arguments by using a colon:

$ ls exclude:*.txt +hidden
[.yamshrc]

... and anything else is a positional argument:

$ ls *.txt
[feefifofum.txt]

Powered by PmWiki