Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 492 Bytes

File metadata and controls

9 lines (7 loc) · 492 Bytes

Examples

This directory contains example programs demonstrating commandry's features.

  • hello.sml - Minimal example with a single positional argument
  • add.sml - Two positional arguments for adding numbers
  • simple.sml - Flags, options, and positional arguments combined
  • git-like.sml - Multiple flags with a variadic positional list
  • subcommands.sml - Nested subcommands with distinct parsers