account_cmd_parser 1.0.0 copy "account_cmd_parser: ^1.0.0" to clipboard
account_cmd_parser: ^1.0.0 copied to clipboard

A wrapper of ArgParser to parse command-line arguments or console inputs to a predefined Account model.

AccountCmdParser #

Dart CI License

Features #

This package is a wrapper of ArgParser:

  • Parse command-line arguments to Account(email, password) model
  • Hint and parse console inputs to Account(email, password) model if there are no runtime command-line arguments passed in

Getting Started #

Add the following to your pubspec.yaml:

dependencies:
  account_cmd_parser: any

Usage #

void main(List<String> arguments) {
  final accountCmdParser = AccountArgParser();
  Account account = accountCmdParser.parse(arguments: arguments);
}
0
likes
140
pub points
0%
popularity

Publisher

verified publishermintminter.dev

A wrapper of ArgParser to parse command-line arguments or console inputs to a predefined Account model.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, equatable

More

Packages that depend on account_cmd_parser