- Added a
drg apply
subcommand. It's tailored to feel like thekubectl apply
we are used to. - Added support for PSK credentials (see drogue-cloud 0.11 release.
- updated CI runners
- Updated to colored_json 3
- updated to drogue-client 0.11
- New subcommand :
apply
allows to create or update devices and application from json or yaml. Works likekubectl apply
. - Added support for channel filtering in
drg stream
with--channel
option.
- Added missing JSON output for
version
- Fixed an issue where
drg config default-app
anddefault-algo
were not saving the config changes
- add plural aliases for member subcommands:
- Added an interactive / terminal mode : start it with
drg --interactive
- Added an
--insecure
flag fordrg stream
allowing to connect to servers using self-signed certificates (e.g. drogue-server)
- Added missing JSON output for
login
,config
andwhoami
- Added support for refreshing the auth token in
drg stream
to keep alive the connection
- Updated to tungstenite 0.17.2
- updated to tiny_http 0.8.0
- updated to drogue-client 0.10.1
- Reworked the CLI flow : general improvement in usability, better help messages.
- drg can now set labels using
drg label
subcommand :drg label device myDevice aLabel bar=baz
ordrg label app myApp key=val someOtherLabel
- drg stream can now filter the stream to only display messages coming from a given device.
- Add a json output :
-o json
- Add a
-o wide
option when listing devices to show more information. Thanks to lulf ! - Drg now uses
drogue-client
under the hood. - Add a "--active" flag to
drg config show
to only show the current active context.
- Swap the position of passwords arguments for
drg set password
to make it more aligned with how the data hierarchy. - When creating or updating an application or a device with a full spec file, the application name or device Id will be red from the file, without needing to input it.
- When creating a token, a description can be optionally provided.
- Big internal refactoring improving code maintainability.
- Add integration tests
- Prevents renaming a context with a name that already exist in the config file.
- Updated to clap 3.0
- updated to oauth 4.1.0
- updated to tabular 0.2.0
- Added an
admin
subcommand to manage application members, transfer application ownership and manage access tokens. - Added optional -n parameter for the
stream
command to stream a fixed number of messages.
- Add URL encoding for user supplied values.
- Add aliases for
drg stream
:consume
,subscribe
are now valid aliases.
- Added a
stream
subcommand to tap in the websocket integration service and stream events - Added a
trust
subcommand to manage certificates and trust anchors for devices and apps. - Added a
set
operation to easily add credentials, gateway or alias to a device. - Devices and apps can now be listed if not ID is specified :
drg get apps
will list existing apps. Plural and singular forms of a resource can be used interchangeably. - Endpoints information in
drg whoami -e
. It's also possible to specify a service name to get only the url. - Added a
cmd
subcommand to issue commands for devices using the command endpoint.
- Improved debug messages related to the open ID authentication flow.
- When using
edit
, drg won't send anything to the server if there are no changes. - Automated builds
- Add an "ignore-missing" flag to ignore 404 error when deleting a resource.
drg token
is removed. Please usedrg whoami --token
--data
argument is deprecated. Use--spec
instead.