Last updated:
0 purchases
argy
Argy #
Manages command line arguments
Install #
dart pub add argy
copied to clipboard
Usage #
void main(List<String> arguments) {
var argy = Argy(arguments: arguments);
argy.add("file", "the file to work on...");
argy.add("dir", "the directory to look inside...");
argy.helpMessage = "Welcome to my CLI tool!";
argy.help();
}
copied to clipboard
Prints out the follow:
// Welcome to my CLI tool!
//
// Example usage:
// --file the file to work on...
// --dir the directory to look inside...
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.