What is the difference between running Smart from the command line and the --shell interface?
- Keywords:
- shell
The --shell interface implements a subset of the available options normally available from the Smart command line. This is by design. Lets take for example the install command:
From the command line the install command gives you the following options:
[mypc]#smart install --help
Usage: smart install [options] package ...
This command will install one or more packages in the
system. If a new version of an already installed package
is available, it will be selected for installation.
Options:
-h, --help Show this help message and exit
--stepped Split operation in steps
--urls Dump needed urls and don't commit operation
--download Download packages and don't commit operation
--explain Include additional information about changes,when possible
-y, --yes Do not ask for confirmation
--dump Dump package names and versions to stderr but don't commit
and from the Smart shell the install command gives you the following options:
smart> help install
The install command marks packages for installation.
Options:
--explain Include additional information about
Usage: install <pkgname> ..