forked from tong/getopt
-
Notifications
You must be signed in to change notification settings - Fork 0
utibenkei/getopt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GETOPT ====== Utility to parse command line arguments using same/similar conventions as the Unix getopt() function. USAGE ----- # Create a instance of the parser var go = new Getopt(); # Add command line options to parse # For example, to store a string value into the field 'f' go.addSwitch( ["f"], store( "filename", TString ) ); # Parse an array of arguments (like returned by neko.Sys.args()) go.parse( ["-f","myfile"] ); # Or go.parseString( "-f myfile" ); # Your value is now available at trace( go.opt.filename ); // myfile
About
haXe getopt
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Haxe 100.0%