The documentation for using the Uniform CLI.
Show available commands#
This command shows help for the available CLI commands.
Commands: uniform optimize <command> Uniform Optimize commands [aliases: opt] Options: --version Show version number [boolean] --help Show help [boolean]
You will see additional commands listed if you have Uniform packages installed that provide more commands.
Show help for a specific command#
This command shows help for a specific CLI commands.
uniform <command> --help
Uniform Optimize commands Commands: uniform optimize manifest <command> Intent manifest commands Options: --version Show version number [boolean] --help Show help [boolean]
This section covers error messages you may see when using the Uniform CLI.
If you get the following error message, this means a package is missing. For example, the following error will occur if you do not have the
@uniformdev/canvas dependency installed:
uniform canvas component pull ./my-package.yaml
Unknown arguments: canvas, component, pull, ./my-package.yaml
To fix this problem, install the required dependency.
The Uniform CLI can report its version number.
Show the current version#
This command shows version information of the CLI you are using.