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

Odin-Commands was written to be relatively unintrusive to your existing code.

Do

  • Use your dependency injection framework of choice.
  • Make use of the Description attributes to help people understand how to use your CLI.
  • Make use of Alias attributes to make your CLI easier to invoke.
  • Test your CLI's.
  • Use the CLI Validation facility.

Don't

  • Embed your business logic in the Command implementation. Commands are intended represent the routing structure of your CLI.
Clone this wiki locally