v1.0.0: Package Search, Auto-complete, Opt-in Anonymous Metrics
New Features
Package Search
You can now search for potential packages to install using akamai search <keyword>...
. Results will be displayed with the best match first.
Remote Package List
To see a list of all available packages, as well as installed packages, you can pass the --remote
flag to akamai list
.
Auto-Complete
Akamai CLI now supports bash and zsh auto-complete for all command names, and — for built-in commands— sub-command names, and flag names.
For package commands, auto-complete can be supported by setting auto-complete: true
in the packages cli.json
and adding a --generate-auto-complete
flag to the sub-command that outputs a newline delimited list of possible completions based on the other arguments passed in. (e.g. akamai purge in --generate-auto-complete
will output invalidate
as the only possible option.)
New config
command
A new config
command has been added to help with managing your Akamai CLI configuration file.
Settings use dot-notation where the first segment is the INI section, and the second segment is the key name.
akamai config get <setting>
— retrieve the current value for a settingakamai config set <setting> <value>
— set the value for a settingakamai config unset <setting>
— unset a settingakamai config list [section]
— list all current settings, optionally only list those for a specific section
Proxy Support
Akamai CLI now supports a top-level --proxy
flag that takes the same value as the HTTP(S)_PROXY
environment variables and passes it through to sub-commands via those same variables.
Opt-in Anonymous Metrics
To help us prioritize our roadmap, you can now opt-in to anonymous metric collection. Akamai CLI will generate a random, unique client ID, and only collects non-personally identifiable information. Currently we track:
- First run
- Package install success/fail (including the repo URL, for public repos on Github only)
- Package uninstall success/fail (including the command name supplied, no repo URLs are collected)
- Manual Upgrade success/fail (including from/to version)
- Auto-Upgrade success/fail (including from/to version)
- A once-daily ping (at most, similar to auto-update checks)