Skip to main content

ARLAS Command line for ARLAS Management

Project description

ARLAS Command line for collection management

python3 -m arlas.cli.cli  --help

 Usage: python -m arlas.cli.cli [OPTIONS] COMMAND [ARGS]...                                                                                                                    

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --config-file                       TEXT  Path to the configuration file if you do not want to use the default one: .arlas/cli/configuration.yaml. [default: None]          │
│ --print-curl     --no-print-curl          Print curl command [default: no-print-curl]                                                                                       │
│ --version                                 Print command line version                                                                                                        │
│ --help                                    Show this message and exit.                                                                                                       │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ collections                                                                                                                                                                 │
│ confs                                                                                                                                                                       │
│ iam                                                                                                                                                                         │
│ indices                                                                                                                                                                     │
│ persist                                                                                                                                                                     │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Actions on collections:

python3 -m arlas.cli.cli collections --help

 Usage: python -m arlas.cli.cli collections [OPTIONS] COMMAND [ARGS]...                                                                                                        

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *  --config        TEXT  Name of the ARLAS configuration to use from your configuration file (/Users/gaudan/.arlas/cli/configuration.yaml). [default: None] [required]      │
│    --help                Show this message and exit.                                                                                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ count               Count the number of hits within a collection (or all collection if not provided)                                                                        │
│ create              Create a collection                                                                                                                                     │
│ delete              Delete a collection                                                                                                                                     │
│ describe            Describe a collection                                                                                                                                   │
│ list                List collections                                                                                                                                        │
│ name                Set the collection display name                                                                                                                         │
│ private             Set collection visibility to private                                                                                                                    │
│ public              Set collection visibility to public                                                                                                                     │
│ sample              Display a sample of a collection                                                                                                                        │
│ set_alias           Set the collection display name                                                                                                                         │
│ share               Share the collection with the organisation                                                                                                              │
│ unshare             Share the collection with the organisation                                                                                                              │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Actions on indices:

python3 -m arlas.cli.cli indices --help

 Usage: python -m arlas.cli.cli indices [OPTIONS] COMMAND [ARGS]...                                                                                                            

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *  --config        TEXT  Name of the ARLAS configuration to use from your configuration file (/Users/gaudan/.arlas/cli/configuration.yaml). [default: None] [required]      │
│    --help                Show this message and exit.                                                                                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ create                            Create an index                                                                                                                           │
│ data                              Index data                                                                                                                                │
│ delete                            Delete an index                                                                                                                           │
│ describe                          Describe an index                                                                                                                         │
│ list                              List indices                                                                                                                              │
│ mapping                           Generate the mapping based on the data                                                                                                    │
│ sample                            Display a sample of an index                                                                                                              │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Actions on configurations:

python3 -m arlas.cli.cli confs --help

 Usage: python -m arlas.cli.cli confs [OPTIONS] COMMAND [ARGS]...                                                                                                              

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                                                                                                                 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ create                                         Add a configuration                                                                                                          │
│ delete                                         Delete a configuration                                                                                                       │
│ describe                                       Describe a configuration                                                                                                     │
│ list                                           List configurations                                                                                                          │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arlas_cli-26.0.0.tar.gz (17.0 kB view hashes)

Uploaded Source

Built Distribution

arlas_cli-26.0.0-py3-none-any.whl (20.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page