Name | alteia-cli JSON |
Version |
1.9.0
JSON |
| download |
home_page | None |
Summary | CLI for Alteia |
upload_time | 2024-12-12 15:11:16 |
maintainer | None |
docs_url | None |
author | Alteia Backend Team |
requires_python | <4.0.0,>=3.6.1 |
license | MIT |
keywords |
cli
alteia
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# `alteia`
CLI for Alteia Platform.
**Usage**:
```console
$ 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**:
* `configure`: Configure platform credentials.
* `analytics`: Interact with analytics.
* `analytic-configurations`: Interact with configurations of analytics.
* `credentials`: Interact with Docker registry credentials.
* `products`: Interact with products.
## `alteia configure`
Configure platform credentials.
You can configure multiples credential profiles by specifying
a different profile name for each one.
**Usage**:
```console
$ 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 analytics`
Interact with analytics.
**Usage**:
```console
$ alteia analytics [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `list`: List the analytics.
* `create`: Create a new analytic.
* `unshare`: Unshare an analytic (DEPRECATED: use...
* `share`: Share an analytic (DEPRECATED: use expose...
* `delete`: Delete an analytic.
* `expose`: Expose an analytic
* `unexpose`: Unexpose an analytic
* `list-exposed`: List exposed analytics
* `enable`: Enable an analytic on companies
* `disable`: Disable an analytic on companies
* `list-orderable`: List orderable analytics on a company
* `set-docker-credentials-name`: Set docker credentials name.
### `alteia analytics list`
List the analytics.
**Usage**:
```console
$ 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 create`
Create a new analytic.
**Usage**:
```console
$ 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 unshare`
Unshare an analytic (DEPRECATED: use unexpose instead)
**Usage**:
```console
$ 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 analytics share`
Share an analytic (DEPRECATED: use expose instead)
**Usage**:
```console
$ 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 delete`
Delete an analytic.
**Usage**:
```console
$ 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 expose`
Expose an analytic
**Usage**:
```console
$ 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 unexpose`
Unexpose an analytic
**Usage**:
```console
$ 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 list-exposed`
List exposed analytics
**Usage**:
```console
$ 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 enable`
Enable an analytic on companies
**Usage**:
```console
$ 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 disable`
Disable an analytic on companies
**Usage**:
```console
$ 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 list-orderable`
List orderable analytics on a company
**Usage**:
```console
$ 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 set-docker-credentials-name`
Set docker credentials name.
**Usage**:
```console
$ alteia analytics set-docker-credentials-name [OPTIONS] NAME
```
**Arguments**:
* `NAME`: [required]
**Options**:
* `--version TEXT`: Version of the analytic to update. [required]
* `--company TEXT`: Short name of the company owning the analytic. [required]
* `--docker-credentials-name TEXT`: Name of the credentials to use to pull the dockerimage from the registry. The credentials must have been createdbeforehand using the credentials API [required]
* `--help`: Show this message and exit.
## `alteia analytic-configurations`
Interact with configurations of analytics.
**Usage**:
```console
$ alteia analytic-configurations [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `list`: List the analytic configuration sets and...
* `create`: Create a new configuration set for an...
* `delete`: Delete one or many analytic configuration...
* `update`: Update a configuration set.
* `export`: Export one configuration of a...
* `assign`: Assign an analytic configuration set to a...
* `unassign`: Unassign an analytic configuration set...
### `alteia analytic-configurations list`
List the analytic configuration sets and their configurations.
**Usage**:
```console
$ 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 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**:
```console
$ 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**:
```console
$ 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 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**:
```console
$ 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 analytic-configurations export`
Export one configuration of a configuration set.
Output can be a JSON or YAML format.
**Usage**:
```console
$ 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 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**:
```console
$ 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 unassign`
Unassign an analytic configuration set from a company.
All configurations currently part of this analytic configuration set,
are unassigned from the company.
**Usage**:
```console
$ 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 credentials`
Interact with Docker registry credentials.
**Usage**:
```console
$ alteia credentials [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `create`: Create a new credential entry.
* `list`: List the existing credentials.
* `delete`: Delete a credential entry by its name.
* `set-credentials`: Set credentials.
* `set-labels`: Set labels.
### `alteia credentials create`
Create a new credential entry.
**Usage**:
```console
$ 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 list`
List the existing credentials.
**Usage**:
```console
$ alteia credentials list [OPTIONS]
```
**Options**:
* `--company TEXT`: Company identifier.
* `--help`: Show this message and exit.
### `alteia credentials delete`
Delete a credential entry by its name.
**Usage**:
```console
$ alteia credentials delete [OPTIONS] NAME
```
**Arguments**:
* `NAME`: [required]
**Options**:
* `--help`: Show this message and exit.
### `alteia credentials set-credentials`
Set credentials.
**Usage**:
```console
$ alteia credentials set-credentials [OPTIONS] NAME
```
**Arguments**:
* `NAME`: [required]
**Options**:
* `--company TEXT`: Company identifier.
* `--filepath PATH`: Path of the Credential JSON file. [required]
* `--help`: Show this message and exit.
### `alteia credentials set-labels`
Set labels.
**Usage**:
```console
$ alteia credentials set-labels [OPTIONS] NAME
```
**Arguments**:
* `NAME`: [required]
**Options**:
* `--company TEXT`: Company identifier.
* `--filepath PATH`: Path of the Labels JSON file. [required]
* `--help`: Show this message and exit.
## `alteia products`
Interact with products.
**Usage**:
```console
$ alteia products [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `list`: List the products
* `cancel`: Cancel a running product.
* `logs`: Retrieve the logs of a product.
### `alteia products list`
List the products
**Usage**:
```console
$ 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 cancel`
Cancel a running product.
**Usage**:
```console
$ alteia products cancel [OPTIONS] PRODUCT_ID
```
**Arguments**:
* `PRODUCT_ID`: [required]
**Options**:
* `--help`: Show this message and exit.
### `alteia products logs`
Retrieve the logs of a product.
**Usage**:
```console
$ 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 alteia_cli/main.py utils docs --name alteia > README.md`_
Raw data
{
"_id": null,
"home_page": null,
"name": "alteia-cli",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.6.1",
"maintainer_email": null,
"keywords": "cli, alteia",
"author": "Alteia Backend Team",
"author_email": "backend-team@alteia.com",
"download_url": "https://files.pythonhosted.org/packages/cf/ad/a7fd4e4956fb6713cec78bf6bca80b531dd7199928bf2504d6ec8a003d74/alteia_cli-1.9.0.tar.gz",
"platform": null,
"description": "# `alteia`\n\nCLI for Alteia Platform.\n\n**Usage**:\n\n```console\n$ alteia [OPTIONS] COMMAND [ARGS]...\n```\n\n**Options**:\n\n* `-p, --profile TEXT`: Alteia CLI Profile [env var: ALTEIA_CLI_PROFILE; default: default]\n* `--version`: Display the CLI version and exit\n* `--verbose`: Display more info during the run\n* `--install-completion`: Install completion for the current shell.\n* `--show-completion`: Show completion for the current shell, to copy it or customize the installation.\n* `--help`: Show this message and exit.\n\n**Commands**:\n\n* `configure`: Configure platform credentials.\n* `analytics`: Interact with analytics.\n* `analytic-configurations`: Interact with configurations of analytics.\n* `credentials`: Interact with Docker registry credentials.\n* `products`: Interact with products.\n\n## `alteia configure`\n\nConfigure platform credentials.\n\nYou can configure multiples credential profiles by specifying\na different profile name for each one.\n\n**Usage**:\n\n```console\n$ alteia configure [OPTIONS] [PROFILE]\n```\n\n**Arguments**:\n\n* `[PROFILE]`: Alteia CLI Profile to configure [env var: ALTEIA_CLI_PROFILE; default: default]\n\n**Options**:\n\n* `--insecure`: Allow insecure connection for profile, disable SSL certificate verification\n* `--help`: Show this message and exit.\n\n## `alteia analytics`\n\nInteract with analytics.\n\n**Usage**:\n\n```console\n$ alteia analytics [OPTIONS] COMMAND [ARGS]...\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n**Commands**:\n\n* `list`: List the analytics.\n* `create`: Create a new analytic.\n* `unshare`: Unshare an analytic (DEPRECATED: use...\n* `share`: Share an analytic (DEPRECATED: use expose...\n* `delete`: Delete an analytic.\n* `expose`: Expose an analytic\n* `unexpose`: Unexpose an analytic\n* `list-exposed`: List exposed analytics\n* `enable`: Enable an analytic on companies\n* `disable`: Disable an analytic on companies\n* `list-orderable`: List orderable analytics on a company\n* `set-docker-credentials-name`: Set docker credentials name.\n\n### `alteia analytics list`\n\nList the analytics.\n\n**Usage**:\n\n```console\n$ alteia analytics list [OPTIONS]\n```\n\n**Options**:\n\n* `-n, --limit INTEGER RANGE`: Max number of analytics returned. [default: 100; x>=1]\n* `--all`: If set, display all kinds of analytics (otherwise only custom analytics are displayed).\n* `--help`: Show this message and exit.\n\n### `alteia analytics create`\n\nCreate a new analytic.\n\n**Usage**:\n\n```console\n$ alteia analytics create [OPTIONS]\n```\n\n**Options**:\n\n* `--description PATH`: Path of the Analytic description (YAML file). [required]\n* `--company TEXT`: Company identifier.\n* `--help`: Show this message and exit.\n\n### `alteia analytics unshare`\n\nUnshare an analytic (DEPRECATED: use unexpose instead)\n\n**Usage**:\n\n```console\n$ alteia analytics unshare [OPTIONS] ANALYTIC_NAME\n```\n\n**Arguments**:\n\n* `ANALYTIC_NAME`: [required]\n\n**Options**:\n\n* `--version TEXT`: Range of versions in SemVer format. If not provided, all the versions will be unshared.\n* `--company TEXT`: Identifier of the company to unshare the analytic with.\n* `--domain / --no-domain`: To unshare the analytic with the root company of your domain.\n\nThis is equivalent to using the --company option providing\nthe id of the root company.\nNote that if you specifically shared the analytic with a company\nof your domain, the analytic will still be shared with that company. [default: no-domain]\n* `--help`: Show this message and exit.\n\n### `alteia analytics share`\n\nShare an analytic (DEPRECATED: use expose instead)\n\n**Usage**:\n\n```console\n$ alteia analytics share [OPTIONS] ANALYTIC_NAME\n```\n\n**Arguments**:\n\n* `ANALYTIC_NAME`: [required]\n\n**Options**:\n\n* `--version TEXT`: Range of versions in SemVer format. If not provided, all the versions will be shared.\n* `--company TEXT`: Identifier of the company to share the analytic with.\n\nWhen providing the identifier of the root company of your domain,\nthe analytic is shared with all the companies of the domain\n(equivalent to using the --domain option)\n* `--domain / --no-domain`: To share the analytic with the root company of your domain.\n\nThis has the effect to share the analytic with all the\ncompanies of your domain and is equivalent to using the\n--company option providing the id of the root company. [default: no-domain]\n* `--help`: Show this message and exit.\n\n### `alteia analytics delete`\n\nDelete an analytic.\n\n**Usage**:\n\n```console\n$ alteia analytics delete [OPTIONS] ANALYTIC_NAME\n```\n\n**Arguments**:\n\n* `ANALYTIC_NAME`: [required]\n\n**Options**:\n\n* `--version TEXT`: Version range of the analytic in SemVer format. If not provided, all the versions will be deleted.\n* `--help`: Show this message and exit.\n\n### `alteia analytics expose`\n\nExpose an analytic\n\n**Usage**:\n\n```console\n$ alteia analytics expose [OPTIONS] ANALYTIC_NAME\n```\n\n**Arguments**:\n\n* `ANALYTIC_NAME`: [required]\n\n**Options**:\n\n* `--domain TEXT`: To expose the analytic on the specified domains (comma separated values) if you have the right permissions on these domains.\n\nBy default, without providing this option, the analytic will be exposed on your domain if you have the right permissions on it.\n* `--help`: Show this message and exit.\n\n### `alteia analytics unexpose`\n\nUnexpose an analytic\n\n**Usage**:\n\n```console\n$ alteia analytics unexpose [OPTIONS] ANALYTIC_NAME\n```\n\n**Arguments**:\n\n* `ANALYTIC_NAME`: [required]\n\n**Options**:\n\n* `--domain TEXT`: To unexpose the analytic from the specified domains (comma separated values) if you have the right permissions on these domains.\n\nBy default, without providing this option, the analytic will be unexposed from your domain if you have the right permissions on it.\n* `--help`: Show this message and exit.\n\n### `alteia analytics list-exposed`\n\nList exposed analytics\n\n**Usage**:\n\n```console\n$ alteia analytics list-exposed [OPTIONS]\n```\n\n**Options**:\n\n* `--all`: If set, display all kinds of analytics (otherwise only custom analytics are displayed).\n* `--domain TEXT`: If set, filters exposed analytics on the specified domains (comma separated values) if you have the right permissions on these domains.\n\nBy default, without providing this option, it filters on your domain.\n* `--help`: Show this message and exit.\n\n### `alteia analytics enable`\n\nEnable an analytic on companies\n\n**Usage**:\n\n```console\n$ alteia analytics enable [OPTIONS] ANALYTIC_NAME\n```\n\n**Arguments**:\n\n* `ANALYTIC_NAME`: [required]\n\n**Options**:\n\n* `--company TEXT`: Identifier of the company to enable the analytic, or list of such identifiers (comma separated values).\n\nWhen 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).\n* `--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).\n\nApart from this default behavior on domain, the analytic can be enabled or disabled separately on each company of the domain.\n* `--help`: Show this message and exit.\n\n### `alteia analytics disable`\n\nDisable an analytic on companies\n\n**Usage**:\n\n```console\n$ alteia analytics disable [OPTIONS] ANALYTIC_NAME\n```\n\n**Arguments**:\n\n* `ANALYTIC_NAME`: [required]\n\n**Options**:\n\n* `--company TEXT`: Identifier of the company to disable the analytic, or list of such identifiers (comma separated values).\n\nWhen 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).\n* `--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).\n\nApart from this default behavior on domain, the analytic can be enabled or disabled separately on each company of the domain.\n* `--help`: Show this message and exit.\n\n### `alteia analytics list-orderable`\n\nList orderable analytics on a company\n\n**Usage**:\n\n```console\n$ alteia analytics list-orderable [OPTIONS] COMPANY_ID\n```\n\n**Arguments**:\n\n* `COMPANY_ID`: [required]\n\n**Options**:\n\n* `--all`: If set, display all kinds of analytics (otherwise only custom analytics are displayed).\n* `--help`: Show this message and exit.\n\n### `alteia analytics set-docker-credentials-name`\n\nSet docker credentials name.\n\n**Usage**:\n\n```console\n$ alteia analytics set-docker-credentials-name [OPTIONS] NAME\n```\n\n**Arguments**:\n\n* `NAME`: [required]\n\n**Options**:\n\n* `--version TEXT`: Version of the analytic to update. [required]\n* `--company TEXT`: Short name of the company owning the analytic. [required]\n* `--docker-credentials-name TEXT`: Name of the credentials to use to pull the dockerimage from the registry. The credentials must have been createdbeforehand using the credentials API [required]\n* `--help`: Show this message and exit.\n\n## `alteia analytic-configurations`\n\nInteract with configurations of analytics.\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations [OPTIONS] COMMAND [ARGS]...\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n**Commands**:\n\n* `list`: List the analytic configuration sets and...\n* `create`: Create a new configuration set for an...\n* `delete`: Delete one or many analytic configuration...\n* `update`: Update a configuration set.\n* `export`: Export one configuration of a...\n* `assign`: Assign an analytic configuration set to a...\n* `unassign`: Unassign an analytic configuration set...\n\n### `alteia analytic-configurations list`\n\nList the analytic configuration sets and their configurations.\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations list [OPTIONS]\n```\n\n**Options**:\n\n* `-n, --limit INTEGER RANGE`: Max number of configuration sets returned. [default: 100; x>=1]\n* `--name TEXT`: Configuration set name (or a part of) to match\n* `--analytic TEXT`: Exact analytic name to match\n* `--desc`: Print description rather than configurations\n* `--help`: Show this message and exit.\n\n### `alteia analytic-configurations create`\n\nCreate a new configuration set for an analytic.\n\nA configuration set is composed of configurations, each being applied to\na different version range of the associated analytic.\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations create [OPTIONS]\n```\n\n**Options**:\n\n* `-c, --config-path PATH`: Path to the Configuration file (YAML or JSON file) [required]\n* `-n, --name TEXT`: Configuration set name (will be prompt if not provided)\n* `-a, --analytic TEXT`: Analytic name (will be prompt if not provided)\n* `-v, --version-range TEXT`: Version range of the analytic on which this first configuration can be applied\n* `-d, --description TEXT`: Configuration set description text\n* `--help`: Show this message and exit.\n\n### `alteia analytic-configurations delete`\n\nDelete one or many analytic configuration set(s)\nand the associated configuration(s).\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations delete [OPTIONS] IDS\n```\n\n**Arguments**:\n\n* `IDS`: Identifier of the configuration set to delete, or comma-separated list of configuration set identifiers [required]\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n### `alteia analytic-configurations update`\n\nUpdate a configuration set.\nA configuration set is composed of configurations, each being applied\nto a different version range of the associated analytic.\n\nTo add a new configuration (file), use --add-config with the path to the new\nconfiguration file (YAML or JSON file) and --version-range with the version range\nof the analytic you want this new configuration to be applied.\n\nTo replace an existing configuration (file), use --replace-config with the path\nto the new configuration file (YAML or JSON file) and --version-range with the\nexact version range attached to the configuration to replace.\n\nTo remove a configuration from a configuration set, use --remove-config\nand --version-range with the exact version range attached to the configuration\nto remove.\n\nTo change the version range for an existing configuration, do an "add" and then\na "remove" (an export may be necessary to do the "add" with the same\nconfiguration file).\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations update [OPTIONS] CONFIG_SET_ID\n```\n\n**Arguments**:\n\n* `CONFIG_SET_ID`: Identifier of the configuration set to update [required]\n\n**Options**:\n\n* `-n, --name TEXT`: New configuration set name\n* `-d, --description TEXT`: New configuration set description\n* `-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\n* `-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\n* `-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\n* `-r, --remove-config TEXT`: Remove a configuration. Specify the exact version range from the applicable analytic version ranges\n* `--help`: Show this message and exit.\n\n### `alteia analytic-configurations export`\n\nExport one configuration of a configuration set.\nOutput can be a JSON or YAML format.\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations export [OPTIONS] CONFIG_SET_ID\n```\n\n**Arguments**:\n\n* `CONFIG_SET_ID`: Identifier of the configuration set to export value [required]\n\n**Options**:\n\n* `-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\n* `-f, --format [json|yaml]`: Optional output format [default: json]\n* `-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\n* `--help`: Show this message and exit.\n\n### `alteia analytic-configurations assign`\n\nAssign an analytic configuration set to a company.\n\nAll analytic configurations that are currently part of this\nanalytic configuration set (and the potential future ones),\nare assigned to the company.\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations assign [OPTIONS] CONFIG_SET_ID\n```\n\n**Arguments**:\n\n* `CONFIG_SET_ID`: Identifier of the configuration set to assign [required]\n\n**Options**:\n\n* `-c, --company TEXT`: Identifier of the company the configuration set will be assigned to [required]\n* `--help`: Show this message and exit.\n\n### `alteia analytic-configurations unassign`\n\nUnassign an analytic configuration set from a company.\n\nAll configurations currently part of this analytic configuration set,\nare unassigned from the company.\n\n**Usage**:\n\n```console\n$ alteia analytic-configurations unassign [OPTIONS] CONFIG_SET_ID\n```\n\n**Arguments**:\n\n* `CONFIG_SET_ID`: Identifier of the configuration set to unassign [required]\n\n**Options**:\n\n* `-c, --company TEXT`: Identifier of the company the configuration set is assigned to [required]\n* `--help`: Show this message and exit.\n\n## `alteia credentials`\n\nInteract with Docker registry credentials.\n\n**Usage**:\n\n```console\n$ alteia credentials [OPTIONS] COMMAND [ARGS]...\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n**Commands**:\n\n* `create`: Create a new credential entry.\n* `list`: List the existing credentials.\n* `delete`: Delete a credential entry by its name.\n* `set-credentials`: Set credentials.\n* `set-labels`: Set labels.\n\n### `alteia credentials create`\n\nCreate a new credential entry.\n\n**Usage**:\n\n```console\n$ alteia credentials create [OPTIONS]\n```\n\n**Options**:\n\n* `--filepath PATH`: Path of the Credential JSON file. [required]\n* `--company TEXT`: Company identifier.\n* `--help`: Show this message and exit.\n\n### `alteia credentials list`\n\nList the existing credentials.\n\n**Usage**:\n\n```console\n$ alteia credentials list [OPTIONS]\n```\n\n**Options**:\n\n* `--company TEXT`: Company identifier.\n* `--help`: Show this message and exit.\n\n### `alteia credentials delete`\n\nDelete a credential entry by its name.\n\n**Usage**:\n\n```console\n$ alteia credentials delete [OPTIONS] NAME\n```\n\n**Arguments**:\n\n* `NAME`: [required]\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n### `alteia credentials set-credentials`\n\nSet credentials.\n\n**Usage**:\n\n```console\n$ alteia credentials set-credentials [OPTIONS] NAME\n```\n\n**Arguments**:\n\n* `NAME`: [required]\n\n**Options**:\n\n* `--company TEXT`: Company identifier.\n* `--filepath PATH`: Path of the Credential JSON file. [required]\n* `--help`: Show this message and exit.\n\n### `alteia credentials set-labels`\n\nSet labels.\n\n**Usage**:\n\n```console\n$ alteia credentials set-labels [OPTIONS] NAME\n```\n\n**Arguments**:\n\n* `NAME`: [required]\n\n**Options**:\n\n* `--company TEXT`: Company identifier.\n* `--filepath PATH`: Path of the Labels JSON file. [required]\n* `--help`: Show this message and exit.\n\n## `alteia products`\n\nInteract with products.\n\n**Usage**:\n\n```console\n$ alteia products [OPTIONS] COMMAND [ARGS]...\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n**Commands**:\n\n* `list`: List the products\n* `cancel`: Cancel a running product.\n* `logs`: Retrieve the logs of a product.\n\n### `alteia products list`\n\nList the products\n\n**Usage**:\n\n```console\n$ alteia products list [OPTIONS]\n```\n\n**Options**:\n\n* `-n, --limit INTEGER RANGE`: Max number of products returned [default: 10; x>=1]\n* `--analytic TEXT`: Analytic name\n* `--company TEXT`: Company identifier\n* `--status [pending|processing|available|rejected|failed]`: Product status\n* `--all`: If set, display also the products from platform analytics (otherwise only products from custom analytics are displayed).\n* `--help`: Show this message and exit.\n\n### `alteia products cancel`\n\nCancel a running product.\n\n**Usage**:\n\n```console\n$ alteia products cancel [OPTIONS] PRODUCT_ID\n```\n\n**Arguments**:\n\n* `PRODUCT_ID`: [required]\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n### `alteia products logs`\n\nRetrieve the logs of a product.\n\n**Usage**:\n\n```console\n$ alteia products logs [OPTIONS] PRODUCT_ID\n```\n\n**Arguments**:\n\n* `PRODUCT_ID`: [required]\n\n**Options**:\n\n* `-f, --follow`: Follow logs.\n* `--help`: Show this message and exit.\n\n---\n\n_Generated with `python -m typer alteia_cli/main.py utils docs --name alteia > README.md`_\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CLI for Alteia",
"version": "1.9.0",
"project_urls": null,
"split_keywords": [
"cli",
" alteia"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b2df2efc56c761f76c040f209ee21c06e1a80a39c9acca79e9b74ce21a84333d",
"md5": "05c6533d1153a174bc44873fd672e84e",
"sha256": "9127294071443a1287258909e8e8996712c28ab6c7e4fd6628d833508a26f079"
},
"downloads": -1,
"filename": "alteia_cli-1.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "05c6533d1153a174bc44873fd672e84e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.6.1",
"size": 32332,
"upload_time": "2024-12-12T15:11:14",
"upload_time_iso_8601": "2024-12-12T15:11:14.120864Z",
"url": "https://files.pythonhosted.org/packages/b2/df/2efc56c761f76c040f209ee21c06e1a80a39c9acca79e9b74ce21a84333d/alteia_cli-1.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cfada7fd4e4956fb6713cec78bf6bca80b531dd7199928bf2504d6ec8a003d74",
"md5": "1f21e126d377aa0737b55d3aa7e09dc6",
"sha256": "30808190b7f53237d66322315867b7e1f7728cb7fafa53045ef56efccccd35f3"
},
"downloads": -1,
"filename": "alteia_cli-1.9.0.tar.gz",
"has_sig": false,
"md5_digest": "1f21e126d377aa0737b55d3aa7e09dc6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.6.1",
"size": 30109,
"upload_time": "2024-12-12T15:11:16",
"upload_time_iso_8601": "2024-12-12T15:11:16.354390Z",
"url": "https://files.pythonhosted.org/packages/cf/ad/a7fd4e4956fb6713cec78bf6bca80b531dd7199928bf2504d6ec8a003d74/alteia_cli-1.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-12 15:11:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "alteia-cli"
}