argy 0.0.3 copy "argy: ^0.0.3" to clipboard
argy: ^0.0.3 copied to clipboard

Manages command line arguments.

Argy #

Manages command line arguments

Install #

dart pub add argy

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();
}

Prints out the follow:

// Welcome to my CLI tool!
//
// Example usage:
// --file				the file to work on...
// --dir				the directory to look inside...
}
0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

Manages command line arguments.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on argy