at_cli_commons 1.1.0 copy "at_cli_commons: ^1.1.0" to clipboard
at_cli_commons: ^1.1.0 copied to clipboard

Library of useful stuff when building cli programs which use the AtClient SDK

Summary #

A library of generic / reusable stuff which is useful when building cli programs which use the AtClient SDK

The simplest usage would be

  AtClient atClient = (await CLIBase.fromCommandLineArgs(args)).atClient;

For further usage examples, see

  • In the example/bin/ directory
    • scan_example.dart
    • put_and_get_example.dart
  • The demo software here

Features #

  • The CLIBase class in cli_base.dart takes care of all the boilerplate involved in getting from program startup to having an AtClient object you can use - parsing command-line arguments, standard configuration, loading authentication keys, etc.
  • There are a few other small utilities in utils.dart which CLIBase uses

Open source usage and contributions #

This is freely licensed open source code, so feel free to use it as is, suggest changes or enhancements or create your own version. See CONTRIBUTING.md for detailed guidance on how to set up tools, tests and make a pull request.

0
likes
130
pub points
68%
popularity

Publisher

verified publisheratsign.org

Library of useful stuff when building cli programs which use the AtClient SDK

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, at_client, at_onboarding_cli, at_utils, chalkdart, logging, meta, version

More

Packages that depend on at_cli_commons