Appearance
CLI: list, show, install, uninstall, update
rein list
List the programs visible from here, as ls lists files: names, or -l for details. Operands are name globs
Usage: rein list [OPTIONS] [PATTERNS]...
Arguments:
<PATTERNS>— Show only the programs that these names match. Shell-style globs such aspr-*. Default: every program
Options:
--json— Print the full records as JSON. Honors the operands, -a, -r and -t. -l and -1 do not apply-l— Long format: one program per line, with scope, version, name, path and description-1— One name per line, even on a terminal-a,--all— Also show shadowed programs, marked with the scope that wins the name-r,--reverse— Reverse the order-t— Sort by the modification time of each program's entry file, newest first. Default: by name
rein show
Print a program's source: its manifest and every .rein file
Usage: rein show <NAME>
Arguments:
<NAME>— Program name (seerein list)
rein install
Install a program package: runs pnpm add with these arguments.
The arguments go to pnpm unchanged, so any pnpm flag works. -g or --global installs for the user: it runs in <user programs folder>/npm/, and rein does not pass it on. Without -g, it runs in the repo's rein/npm/. Outside a repository, use -g. --ignore-scripts is added first, unless the arguments set it.
Usage: rein install <ARGS>...
Arguments:
<ARGS>— Arguments forpnpm add, such aspr-handling@^1,file:../pr-handlingor--save-exact
rein uninstall
Remove an installed program package: runs pnpm remove with these arguments. -g picks the user folder
Usage: rein uninstall <ARGS>...
Arguments:
<ARGS>— Arguments forpnpm remove, such as a package name.-gpicks the user folder
rein update
Update installed program packages: runs pnpm update --ignore-scripts with these arguments. -g picks the user folder
Usage: rein update [ARGS]...
Arguments:
<ARGS>— Arguments forpnpm update, such as a package name or--latest.-gpicks the user folder