You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subcommands are just nested versions of that top-level struct. Each command would have fields options, subcommands and possibly other fields to set properties for that level.
Using a tagged union instead of a struct for implementing sub commands:
This would allow
cmd fibonacci --limit
andcmd primes --algorithm sieve
The text was updated successfully, but these errors were encountered: