Category
Other
Describe the feature you'd like to request
The CLI subcommands do not consistently use the same long and short names for options.
For example, most commands take a Cedar policy file as input using the --policies and -p options.
authorize accepts only the long option --policies for the policies file. The short option -p specifies the principal.
evaluate does not accept a policy file, instead reading expression from an argument, but does use the short option -p for the principal.
validate accepts the long option --policies or the short options -p for policies.
check-parse accepts --policies, -p, or policy text from standard input.
link accepts --policies-file or -p.
format accepts the policies file as a positional argument after any other options, or from standard input if no positional arguments are provided.
There may be other ways that the sub-commands are inconsistent.
Category
Other
Describe the feature you'd like to request
The CLI subcommands do not consistently use the same long and short names for options.
For example, most commands take a Cedar policy file as input using the
--policiesand-poptions.authorizeaccepts only the long option--policiesfor the policies file. The short option-pspecifies the principal.evaluatedoes not accept a policy file, instead reading expression from an argument, but does use the short option-pfor the principal.validateaccepts the long option--policiesor the short options-pfor policies.check-parseaccepts--policies,-p, or policy text from standard input.linkaccepts--policies-fileor-p.formataccepts the policies file as a positional argument after any other options, or from standard input if no positional arguments are provided.There may be other ways that the sub-commands are inconsistent.