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
mosop edited this page Jan 18, 2018
·
16 revisions
Integration with optarg
Crystal CLI integrates its API with optarg. optarg is a library for parsing command-line options and arguments.
Once you define a command class, the class automatically has an optarg's model class that is named Options. You can define options and arguments inside the Options class.