PackageTrack
Sign in Get early access

at_cli_commons

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

3.1.1 3.1K downloads/mo #4565 most downloaded on pub.dev atsign-foundation/at_client_sdk

What this package is like to depend on

Last release 1 months ago

17 Jul 2026

Ships fairly regularly

a new release about every 2 months

Nearly every release is documented

notes for 16 of 16 stable releases

1 version withdrawn

withdrawn after publishing

3 years old

17 releases · first in 2023

4 releases in the last 12 months

see the full history below

Release timeline

17 releases · Jul 2023 to Jul 2026
2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 17
  1. 3.1.1 17 Jul 2026
    Release notes
    • fix: getUserName now resolves via USERLOGNAMEUSERNAMEwhoami instead of returning USER directly, so it works under Docker / systemd / network-OS supervisors that leave USER unset, and its throwIfNull branch is reachable — callers that use ! get a clear message instead of a bare null-check crash (#2060).
    Open source →
  2. 3.1.0 10 May 2026
    Release notes
    • feat: CLIBase constructor and CLIBase.fromCommandLineArgs now accept an optional preference parameter (AtOnboardingPreference). When supplied, init() updates that instance in place rather than creating a new one, allowing callers to pre-set fields that CLIBase does not manage.
    Open source →
  3. 3.0.1 05 Oct 2025
    Release notes
    • feat: Add support for legacy -d option. This will be added to the default CLIBase ArgParser but, if you wish to use -d for some other purpose in your program, you may specify addLegacyRootDomainArg: false when calling CLIBase.fromCommandLineArgs or CLIBase.createArgsParser
    • feat: for better balance between backwards compatibility and forward-looking feature, removed the rootPort field from CLIBase; instead CLIBase constructor will accept either rootDomain (a String, backwards compatible) or atRootDomain (an AtRootDomain) and will set CLIBase.atRootDomain (an AtRootDomain) accordingly.
    • feat: updated the example programs
    Open source →
  4. 3.0.0 04 Oct 2025 withdrawn
    Release notes
    • feat!: changed -d (root-domain) option to -r
    • chore(deps): at_commons ^5.6.0
    • feat: Add license-key alias to cramkey argument in auth CLI
    • fix: Implement rootPort functionality
    • fix: Various improvements and dependency updates
    • feat: --root-domain is now an alias of --root-server command
    Open source →
  5. 2.2.0 07 Aug 2025
    Release notes
    • chore(deps): at_client ^3.7.0
    • chore(deps): chalkdart ">=2.0.9<4.0.0"
    Open source →
  6. 2.1.0 30 Apr 2025
    Release notes
    • feat: Improve usability for args management, including the ability to hide some args which, while they are very helpful for dev purposes, are not so friendly for end-users.
    Open source →
  7. 2.0.0 13 Mar 2025
    Release notes
    • feat!: (breaking) : remove onboarding capability from CLIBase. (Use the at_onboarding_cli package instead.)
    Open source →
  8. 1.3.0 03 Dec 2024
    Release notes
    • feat: Add passPhrase as optional argument to "CLIBase" to support password-protected atKeys file.
    • build: Upgraded the following dependencies
      • args to v2.6.0
      • at_client to v3.3.0
      • at_onboarding_cli to v1.8.0
      • test to v1.25.9
    Open source →
  9. 1.2.1 22 Oct 2024
    Release notes
    • fix: fix impl of standardAtClientStoragePath
    Open source →
  10. 1.2.0 09 Oct 2024
    Release notes
    • feat: Add standardAtClientStoragePath and standardAtClientStorageDir to utils.dart
    Open source →
  11. 1.1.0 07 May 2024
    Release notes
    • feat: Add maxConnectAttempts parameter to CLIBase. The default is 20, i.e. 20 attempts to connect, with a 3-second delay between attempts. When used in scripts this is important, as the previous behaviour (retry forever) is usually not what is required.
    Open source →
  12. 1.0.5 21 Mar 2024
    Release notes
    • fix: Make CLIBase write progress messages to stderr, not stdout
    Open source →
  13. 1.0.4 03 Dec 2023
    Release notes
    • fix: handle malformed atsigns (no leading @) in CLIBase constructor
    • build: updated dependencies
    Open source →
  14. 1.0.3 19 Jul 2023
    Release notes
    • Added example/ package, moved code samples from bin/ to example/
    Open source →
  15. 1.0.2 19 Jul 2023
    Release notes
    • docs: Added some code samples in bin/ directory
    • docs: Added some class and method documentation to CLIBase
    • docs: Updated README
    • feat: Added static fromCommandLineArgs factory method to CLIBase
    Open source →
  16. 1.0.1 19 Jul 2023
    Release notes
    • Small edits to README
    Open source →
  17. 1.0.0 19 Jul 2023
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive