Cells Client v2.2
Cells Client 2.2 mainly brings multiple account support and use of the latest v3 SDK Go.
Overview
- Add support for multiple accounts
- Update SDK Go and better management of API errors
- Small bugfixes and improvements
Multiple account support
You can now configure more than one account on the client side to connect to distinct servers or use more than one user.
We have introduced a new set of command under cec config
, namely:
cec config add
: replacescec configure
(and all its subcommands) to configure a new accountcec config ls
: to list already known accountscec config use
: to switch from an account to anothercec config rm
: to forget one of the pre-defined accountcec config check-keyring
: replacescec configure check-keyring
to simply insure you have a correctly configured keyring on your client machine. This is typically useful when you are on a remote server.
Note that the legacy command
cec configure
still works but has been hidden (you will not see it in the in-line doc). It will be removed on next major version, please update your client scripts soon.
SDK Go update
With the release of Cells v3, we have reworked the SDK for Go, mainly by:
- using a more recent generator to create the SDK from the swagger specification
- improving the error management: we now tweak the swagger specification file to add better error definition before generating the SDK
As a result, you should get better error messages when something goes wrong.
Other improvements
- Better management of the update process
- First steps to ease extending apps
- Small bug fixes (see change log)
Update
Update from older versions of the Cells Client can simply be performed with the cec update
The format of the persisted config.json
has been changed to support multiple accounts: your existing configured connection will be adpated automatically and defined as active connection
on first use.
Run cec config ls
after update to insure everything is fine.
Change log
You can find a summary of the change log here.