Subcommand | Description |
---|---|
get | Retrieve implementation details with a given ID. |
list | Retrieve implementations based on optional filters. |
create | Create a new implementation on the cloud. |
create-template-file | Advanced usage: creates a template file for implementation creation configuration. |
create-code | Verifies if the implementation id exists in the cloud and generates code for that implementation. |
update | Update existing implementation for a given id. |
delete | Delete an implementaion with a given ID. |
create
:
--name
: [mandatory] Must be unique on your cloud workspace.--type
: [mandatory] Type of the implementation to retrieve details for. (MONITOR
or RECORDER
).--description
: Description for your implementation../heex implementation create-template-file
command, and then fill the given file as you need.--input-file
input pointing to the filled file.⚠️ Warning: implementation name or description with special characters If your implementation name or description contains special characters (i.e ’ or space), please use double quotes before and after your names.For example, for a implementation called Jane’s implementation, provide that as —name “Jane’s implementation”. Note that whichever way you chose to create your implementation, you can add the option
--output-file
which will save the created data info into a file. You’ll have to provide a filepath with a json extension: /path/to/file.json
create-code
command verifies if the implementation id exists in the cloud and generates implementation code for that implementation.
Available options:
--api-key
: Your user api secret key which can be found on the cloud. [required]--implementation-id
: ID of the involved implementation. [required]--path-to-sdk
: If you don’t run from inside a unzipped sdk package, provide the path to its root.--language
: Language of the implementation code, options are [‘python’, ‘cpp’]. [default: python]--name
: Name of the implementation file to create. [required]<SDK_PATH>/samples/code_implementations/<LANGUAGE>/<FILE_NAME>
.
For C++ implementations, in addition to the implementation file, the following files will be generated:
CMakeLists.txt
file in the same directory to configure the build.buildSample.sh
script to compile the code.buildSample.sh
script to build the executable.
To use the implementation(s) please check Run your implementations.
update
subcommand. This will command allows to add new signals to the existing implementation.
Flags implementation-id
and signal-id
are mandatory. You can provide more than one signal to add to the implementation, check help for more information.
Usage:
implementation-id
, see example below:
Usage:
--implementation-id
ID of the involved implementation. Multiple can be given: e.g. --implementation-id ID1
--implementation-id ID2
.--signal-id
Signal IDs to retrieve details for. Multiple can be given: signal-id ID1
signal-id ID1
.--priority
Priority of the implementation to retrieve details for. Check the help for available values.--type
Type of the implementation to retrieve details for. Check help for available values.--name
Name of the implementation to retrieve details for.--output-file
The result will be saved into this provided filepath. The output format is json, so please provide a filepath with that format:/path/to/file.json--output-file
flag. If the provided path doesn’t exist, it will be created. See example below where several filters can be used at the same time:
Usage:
implementation-id
. If the implementation is linked to any system, it is not possible to delete: you need to unlink it from the system(s) first and then try again.
Usage: