Skip to content
crmckenzie edited this page Jan 4, 2016 · 2 revisions

Command provides a Validate method that reports the following issues with the root command and all subcommands:

  • Only one default action per command
  • No conflicts between subcommands and action names
  • No more than one of the same alias on a method
  • No duplicate identifiers for parameter methods.

Odin does not raise exceptions if these conditions are found, though the behavior is undefined.

Clone this wiki locally