argy 0.0.3
argy: ^0.0.3 copied to clipboard
Manages command line arguments.
example/argy_example.dart
import 'package:argy/argy.dart';
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();
// Welcome to my CLI tool!
//
// Example usage:
// --file the file to work on...
// --dir the directory to look inside...
}