CLI for Alteia
Project description
alteia
CLI for Alteia Platform.
Usage:
$ alteia [OPTIONS] COMMAND [ARGS]...
Options:
-p, --profile TEXT
: Alteia CLI Profile [env var: ALTEIA_CLI_PROFILE; default: default]--version
: Display the CLI version and exit--verbose
: Display more info during the run--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
analytic-configurations
: Interact with configurations of analytics.analytics
: Interact with analytics.configure
: Configure platform credentials.credentials
: Interact with Docker registry credentials.products
: Interact with products.
alteia analytic-configurations
Interact with configurations of analytics.
Usage:
$ alteia analytic-configurations [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
assign
: Assign an analytic configuration set to a...create
: Create a new configuration set for an...delete
: Delete one or many analytic configuration...export
: Export one configuration of a...list
: List the analytic configuration sets and...unassign
: Unassign an analytic configuration set...update
: Update a configuration set.
alteia analytic-configurations assign
Assign an analytic configuration set to a company.
All analytic configurations that are currently part of this analytic configuration set (and the potential future ones), are assigned to the company.
Usage:
$ alteia analytic-configurations assign [OPTIONS] CONFIG_SET_ID
Arguments:
CONFIG_SET_ID
: Identifier of the configuration set to assign [required]
Options:
-c, --company TEXT
: Identifier of the company the configuration set will be assigned to [required]--help
: Show this message and exit.
alteia analytic-configurations create
Create a new configuration set for an analytic.
A configuration set is composed of configurations, each being applied to a different version range of the associated analytic.
Usage:
$ alteia analytic-configurations create [OPTIONS]
Options:
-c, --config-path PATH
: Path to the Configuration file (YAML or JSON file) [required]-n, --name TEXT
: Configuration set name (will be prompt if not provided)-a, --analytic TEXT
: Analytic name (will be prompt if not provided)-v, --version-range TEXT
: Version range of the analytic on which this first configuration can be applied-d, --description TEXT
: Configuration set description text--help
: Show this message and exit.
alteia analytic-configurations delete
Delete one or many analytic configuration set(s) and the associated configuration(s).
Usage:
$ alteia analytic-configurations delete [OPTIONS] IDS
Arguments:
IDS
: Identifier of the configuration set to delete, or comma-separated list of configuration set identifiers [required]
Options:
--help
: Show this message and exit.
alteia analytic-configurations export
Export one configuration of a configuration set. Output can be a JSON or YAML format.
Usage:
$ alteia analytic-configurations export [OPTIONS] CONFIG_SET_ID
Arguments:
CONFIG_SET_ID
: Identifier of the configuration set to export value [required]
Options:
-v, --version-range TEXT
: Specify the exact version range from the applicable analytic version ranges. Optional if only one configuration exists in the configuration set-f, --format [json|yaml]
: Optional output format [default: json]-o, --output-path PATH
: Optional output filepath to export the configuration. If the filepath already exists, it will be replaced. If not specified, configuration will be displayed in stdout--help
: Show this message and exit.
alteia analytic-configurations list
List the analytic configuration sets and their configurations.
Usage:
$ alteia analytic-configurations list [OPTIONS]
Options:
-n, --limit INTEGER RANGE
: Max number of configuration sets returned. [default: 100; x>=1]--name TEXT
: Configuration set name (or a part of) to match--analytic TEXT
: Exact analytic name to match--desc
: Print description rather than configurations--help
: Show this message and exit.
alteia analytic-configurations unassign
Unassign an analytic configuration set from a company.
All configurations currently part of this analytic configuration set, are unassigned from the company.
Usage:
$ alteia analytic-configurations unassign [OPTIONS] CONFIG_SET_ID
Arguments:
CONFIG_SET_ID
: Identifier of the configuration set to unassign [required]
Options:
-c, --company TEXT
: Identifier of the company the configuration set is assigned to [required]--help
: Show this message and exit.
alteia analytic-configurations update
Update a configuration set. A configuration set is composed of configurations, each being applied to a different version range of the associated analytic.
To add a new configuration (file), use --add-config with the path to the new configuration file (YAML or JSON file) and --version-range with the version range of the analytic you want this new configuration to be applied.
To replace an existing configuration (file), use --replace-config with the path to the new configuration file (YAML or JSON file) and --version-range with the exact version range attached to the configuration to replace.
To remove a configuration from a configuration set, use --remove-config and --version-range with the exact version range attached to the configuration to remove.
To change the version range for an existing configuration, do an "add" and then a "remove" (an export may be necessary to do the "add" with the same configuration file).
Usage:
$ alteia analytic-configurations update [OPTIONS] CONFIG_SET_ID
Arguments:
CONFIG_SET_ID
: Identifier of the configuration set to update [required]
Options:
-n, --name TEXT
: New configuration set name-d, --description TEXT
: New configuration set description-a, --add-config PATH
: Add new configuration. Specify the path to the new configuration file, and --version-range option with the version range of the analytic you want this new configuration to be applied. Do not use with --replace-config-u, --replace-config PATH
: Replace a configuration. Specify the path to the new configuration file, and --version-range option with the exact version range from the applicable analytic version ranges. Do not use with --add-config-v, --version-range TEXT
: Version range of the analytic on which a configuration can be applied. Must be used with one of --add-config, --replace-config or --remove-config-r, --remove-config TEXT
: Remove a configuration. Specify the exact version range from the applicable analytic version ranges--help
: Show this message and exit.
alteia analytics
Interact with analytics.
Usage:
$ alteia analytics [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
create
: Create a new analytic.delete
: Delete an analytic.disable
: Disable an analytic on companiesenable
: Enable an analytic on companiesexpose
: Expose an analyticlist
: List the analytics.list-exposed
: List exposed analyticslist-orderable
: List orderable analytics on a companyshare
: Share an analytic (DEPRECATED: use expose...unexpose
: Unexpose an analyticunshare
: Unshare an analytic (DEPRECATED: use...
alteia analytics create
Create a new analytic.
Usage:
$ alteia analytics create [OPTIONS]
Options:
--description PATH
: Path of the Analytic description (YAML file). [required]--company TEXT
: Company identifier.--help
: Show this message and exit.
alteia analytics delete
Delete an analytic.
Usage:
$ alteia analytics delete [OPTIONS] ANALYTIC_NAME
Arguments:
ANALYTIC_NAME
: [required]
Options:
--version TEXT
: Version range of the analytic in SemVer format. If not provided, all the versions will be deleted.--help
: Show this message and exit.
alteia analytics disable
Disable an analytic on companies
Usage:
$ alteia analytics disable [OPTIONS] ANALYTIC_NAME
Arguments:
ANALYTIC_NAME
: [required]
Options:
--company TEXT
: Identifier of the company to disable the analytic, or list of such identifiers (comma separated values).
When providing the identifier of the root company of your domain, the analytic is disabled by default for all the companies of the domain (equivalent to using the --domain option).
--domain TEXT
: Use this option to make the analytic disabled by default for all companies of the specified domains (comma separated values) (equivalent to using the --company option providing the root company identifier(s) of these domains).
Apart from this default behavior on domain, the analytic can be enabled or disabled separately on each company of the domain.
--help
: Show this message and exit.
alteia analytics enable
Enable an analytic on companies
Usage:
$ alteia analytics enable [OPTIONS] ANALYTIC_NAME
Arguments:
ANALYTIC_NAME
: [required]
Options:
--company TEXT
: Identifier of the company to enable the analytic, or list of such identifiers (comma separated values).
When providing the identifier of the root company of your domain, the analytic is enabled by default for all the companies of the domain (equivalent to using the --domain option).
--domain TEXT
: Use this option to make the analytic enabled by default for all companies of the specified domains (comma separated values) (equivalent to using the --company option providing the root company identifier(s) of these domains).
Apart from this default behavior on domain, the analytic can be enabled or disabled separately on each company of the domain.
--help
: Show this message and exit.
alteia analytics expose
Expose an analytic
Usage:
$ alteia analytics expose [OPTIONS] ANALYTIC_NAME
Arguments:
ANALYTIC_NAME
: [required]
Options:
--domain TEXT
: To expose the analytic on the specified domains (comma separated values) if you have the right permissions on these domains.
By default, without providing this option, the analytic will be exposed on your domain if you have the right permissions on it.
--help
: Show this message and exit.
alteia analytics list
List the analytics.
Usage:
$ alteia analytics list [OPTIONS]
Options:
-n, --limit INTEGER RANGE
: Max number of analytics returned. [default: 100; x>=1]--all
: If set, display all kinds of analytics (otherwise only custom analytics are displayed).--help
: Show this message and exit.
alteia analytics list-exposed
List exposed analytics
Usage:
$ alteia analytics list-exposed [OPTIONS]
Options:
--all
: If set, display all kinds of analytics (otherwise only custom analytics are displayed).--domain TEXT
: If set, filters exposed analytics on the specified domains (comma separated values) if you have the right permissions on these domains.
By default, without providing this option, it filters on your domain.
--help
: Show this message and exit.
alteia analytics list-orderable
List orderable analytics on a company
Usage:
$ alteia analytics list-orderable [OPTIONS] COMPANY_ID
Arguments:
COMPANY_ID
: [required]
Options:
--all
: If set, display all kinds of analytics (otherwise only custom analytics are displayed).--help
: Show this message and exit.
alteia analytics share
Share an analytic (DEPRECATED: use expose instead)
Usage:
$ alteia analytics share [OPTIONS] ANALYTIC_NAME
Arguments:
ANALYTIC_NAME
: [required]
Options:
--version TEXT
: Range of versions in SemVer format. If not provided, all the versions will be shared.--company TEXT
: Identifier of the company to share the analytic with.
When providing the identifier of the root company of your domain, the analytic is shared with all the companies of the domain (equivalent to using the --domain option)
--domain / --no-domain
: To share the analytic with the root company of your domain.
This has the effect to share the analytic with all the companies of your domain and is equivalent to using the --company option providing the id of the root company. [default: no-domain]
--help
: Show this message and exit.
alteia analytics unexpose
Unexpose an analytic
Usage:
$ alteia analytics unexpose [OPTIONS] ANALYTIC_NAME
Arguments:
ANALYTIC_NAME
: [required]
Options:
--domain TEXT
: To unexpose the analytic from the specified domains (comma separated values) if you have the right permissions on these domains.
By default, without providing this option, the analytic will be unexposed from your domain if you have the right permissions on it.
--help
: Show this message and exit.
alteia analytics unshare
Unshare an analytic (DEPRECATED: use unexpose instead)
Usage:
$ alteia analytics unshare [OPTIONS] ANALYTIC_NAME
Arguments:
ANALYTIC_NAME
: [required]
Options:
--version TEXT
: Range of versions in SemVer format. If not provided, all the versions will be unshared.--company TEXT
: Identifier of the company to unshare the analytic with.--domain / --no-domain
: To unshare the analytic with the root company of your domain.
This is equivalent to using the --company option providing the id of the root company. Note that if you specifically shared the analytic with a company of your domain, the analytic will still be shared with that company. [default: no-domain]
--help
: Show this message and exit.
alteia configure
Configure platform credentials.
You can configure multiples credential profiles by specifying a different profile name for each one.
Usage:
$ alteia configure [OPTIONS] [PROFILE]
Arguments:
[PROFILE]
: Alteia CLI Profile to configure [env var: ALTEIA_CLI_PROFILE;default: default]
Options:
--insecure
: Allow insecure connection for profile, disable SSL certificate verification--help
: Show this message and exit.
alteia credentials
Interact with Docker registry credentials.
Usage:
$ alteia credentials [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
create
: Create a new credential entry.delete
: Delete a credential entry by its name.list
: List the existing credentials.
alteia credentials create
Create a new credential entry.
Usage:
$ alteia credentials create [OPTIONS]
Options:
--filepath PATH
: Path of the Credential JSON file. [required]--company TEXT
: Company identifier.--help
: Show this message and exit.
alteia credentials delete
Delete a credential entry by its name.
Usage:
$ alteia credentials delete [OPTIONS] NAME
Arguments:
NAME
: [required]
Options:
--help
: Show this message and exit.
alteia credentials list
List the existing credentials.
Usage:
$ alteia credentials list [OPTIONS]
Options:
--company TEXT
: Company identifier.--type [docker|object-storage|stac-catalog]
: Type of credentials [default: docker]--help
: Show this message and exit.
alteia products
Interact with products.
Usage:
$ alteia products [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
cancel
: Cancel a running product.list
: List the productslogs
: Retrieve the logs of a product.
alteia products cancel
Cancel a running product.
Usage:
$ alteia products cancel [OPTIONS] PRODUCT_ID
Arguments:
PRODUCT_ID
: [required]
Options:
--help
: Show this message and exit.
alteia products list
List the products
Usage:
$ alteia products list [OPTIONS]
Options:
-n, --limit INTEGER RANGE
: Max number of products returned [default: 10; x>=1]--analytic TEXT
: Analytic name--company TEXT
: Company identifier--status [pending|processing|available|rejected|failed]
: Product status--all
: If set, display also the products from platform analytics (otherwise only products from custom analytics are displayed).--help
: Show this message and exit.
alteia products logs
Retrieve the logs of a product.
Usage:
$ alteia products logs [OPTIONS] PRODUCT_ID
Arguments:
PRODUCT_ID
: [required]
Options:
-f, --follow
: Follow logs.--help
: Show this message and exit.
Generated with python -m typer_cli alteia_cli/main.py utils docs --name alteia
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file alteia_cli-1.8.1.tar.gz
.
File metadata
- Download URL: alteia_cli-1.8.1.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.14 Linux/5.10.227-219.884.amzn2.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a03209061a81f093de5694de6ea67cafeb83c41203f266e2faf2def95a96b8 |
|
MD5 | 3440d339459d62f559ab74cd34fe6292 |
|
BLAKE2b-256 | fd64b93f47a527318b03a8e64466cbf6589a6aec4f8d4a04ef5802eb57547cba |
File details
Details for the file alteia_cli-1.8.1-py3-none-any.whl
.
File metadata
- Download URL: alteia_cli-1.8.1-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.14 Linux/5.10.227-219.884.amzn2.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45636d5e3c4476fc64520109e924fac913a9c54271fcfda74cd01802390b8462 |
|
MD5 | d520d79d7c24a2fdba2b5b7055390912 |
|
BLAKE2b-256 | 82deb82be4e8680bf15b8e3218b998a6b756cc4d0adbda3bc4409ab493809e1e |