Troubleshooting

The documentation for using the Uniform CLI.

This command shows help for the available CLI commands.

Command

uniform --help

Response

Commands: uniform canvas <command> Uniform Canvas commands [aliases: cv, pm, presentation] uniform context <command> Uniform Context commands [aliases: ctx] ... Options: --version Show version number [boolean] --help Show help [boolean]

info

You will see additional commands listed if you have Uniform packages installed that provide more commands.

This command shows help for a specific CLI command.

Command

uniform <command> --help

Response

uniform context --help
Uniform Context commands Commands: uniform context manifest <command> Commands for context manifests [aliases: man] uniform context signal <command> Commands for Context signals [aliases: sig] uniform context enrichment <command> Commands for Context enrichments [aliases: enr] uniform context aggregate <command> Commands for Context aggregates (intents, audiences) [aliases: agg, intent, audience] uniform context quirk <command> Commands for Context quirks [aliases: qk] uniform context test <command> Commands for Context A/B tests 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:

Command

uniform canvas component pull ./my-package.yaml

Response

Unknown arguments: canvas, component, pull, ./my-package.yaml

solution

To fix this problem, install the required dependency.

The Uniform CLI can report its version number.

This command shows version information of the CLI you are using.

Command

uniform --version

Response

19.37.0