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
Releases
latest 17-
3.1.117 Jul 2026Release notes
Open source →- fix:
getUserNamenow resolves viaUSER→LOGNAME→USERNAME→whoamiinstead of returningUSERdirectly, so it works under Docker / systemd / network-OS supervisors that leaveUSERunset, and itsthrowIfNullbranch is reachable — callers that use!get a clear message instead of a bare null-check crash (#2060).
- fix:
-
3.1.010 May 2026Release notes
Open source →- feat:
CLIBaseconstructor andCLIBase.fromCommandLineArgsnow accept an optionalpreferenceparameter (AtOnboardingPreference). When supplied,init()updates that instance in place rather than creating a new one, allowing callers to pre-set fields thatCLIBasedoes not manage.
- feat:
-
3.0.105 Oct 2025Release notes
Open source →- feat: Add support for legacy
-doption. This will be added to the default CLIBase ArgParser but, if you wish to use-dfor some other purpose in your program, you may specifyaddLegacyRootDomainArg: falsewhen callingCLIBase.fromCommandLineArgsorCLIBase.createArgsParser - feat: for better balance between backwards compatibility and forward-looking
feature, removed the
rootPortfield from CLIBase; instead CLIBase constructor will accept eitherrootDomain(a String, backwards compatible) oratRootDomain(an AtRootDomain) and will set CLIBase.atRootDomain (an AtRootDomain) accordingly. - feat: updated the example programs
- feat: Add support for legacy
-
3.0.004 Oct 2025 withdrawnRelease notes
Open source →- feat!: changed
-d(root-domain) option to-r - chore(deps): at_commons ^5.6.0
- feat: Add
license-keyalias tocramkeyargument in auth CLI - fix: Implement rootPort functionality
- fix: Various improvements and dependency updates
- feat:
--root-domainis now an alias of--root-servercommand
- feat!: changed
-
2.2.007 Aug 2025 -
2.1.030 Apr 2025Release notes
Open source →- 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.
-
2.0.013 Mar 2025Release notes
Open source →- feat!: (breaking) : remove onboarding capability from CLIBase. (Use the at_onboarding_cli package instead.)
-
1.3.003 Dec 2024Release notes
Open source →- 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
-
1.2.122 Oct 2024 -
1.2.009 Oct 2024Release notes
Open source →- feat: Add
standardAtClientStoragePathandstandardAtClientStorageDirto utils.dart
- feat: Add
-
1.1.007 May 2024Release notes
Open source →- feat: Add
maxConnectAttemptsparameter 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.
- feat: Add
-
1.0.521 Mar 2024 -
1.0.403 Dec 2023Release notes
Open source →- fix: handle malformed atsigns (no leading
@) in CLIBase constructor - build: updated dependencies
- fix: handle malformed atsigns (no leading
-
1.0.319 Jul 2023 -
1.0.219 Jul 2023Release notes
Open source →- docs: Added some code samples in bin/ directory
- docs: Added some class and method documentation to CLIBase
- docs: Updated README
- feat: Added static
fromCommandLineArgsfactory method to CLIBase
-
1.0.119 Jul 2023 -
1.0.019 Jul 2023