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

Libraries

account_cmd_parser