Builtin commands
Omni provides a number of built-in commands. Those are available from anywhere omni can be called, and will be called from the current working directory.
Those commands take precedence over any custom commands, makefile commands or configuration commands, it is thus not possible to override them. However, you can still write "subcommands" for those, that would be called when the specific subcommand is being called.
List of builtin commands
General
Builtin command | Description |
---|---|
config bootstrap | Bootstraps the configuration of omni |
config path switch | Switch the source of a repository in the omnipath |
config reshim | Regenerate the shims for the environments managed by omni |
config trust | Trust a work directory |
config untrust | Untrust a work directory |
help | Show help for omni commands |
hook | Call one of omni's hooks for the shell |
status | Show the status of omni |
Git commands
Builtin command | Description |
---|---|
cd | Change directory to the git directory of the specified repository |
clone | Clone the specified repository |
down | Tear down a repository depending on its up configuration |
scope | Runs an omni command in the context of the specified repository |
tidy | Organize your git repositories using the configured format |
up | Sets up a repository depending on its up configuration |