Skip to content

Usage

This page will give you an overview on how to use kiara via its command-line interface.

For a more walk-through introduction, have a look at the Getting started page.

Subcommands

Sub-command specific information can be found on the following pages:

  • run: run a workflow from the command-line
  • module: get information about modules and pipelines
  • data: get information about data in the kiara data store

Getting help

To get information for the kiara command itself use the --help flag:

kiara --help
                                                                                
 Usage: kiara [OPTIONS] COMMAND [ARGS]...                                       
                                                                                
 kiara ia a data-orchestration framework; this is the command-line frontend for 
 it.                                                                            
 For more information, visit the kiara homepage:                                
 https://dharpa.org/kiara.documentation .                                       

╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --config     -cnf     TEXT  A kiara config file (or folder containing one    │
│                             named 'kiara.config').                           │
│ --context    -ctx,-c  TEXT  The name of the kiara context to use (or the     │
│                             path to a context file).                         │
│ --pipelines  -p       TEXT  File(s) and folder(s) that contain extra         │
│                             pipeline definitions.                            │
│ --plugin     -P       TEXT  Ensure the provided plugin package(s) are        │
│                             installed in the virtual environment.            │
│ --help       -h             Show this message and exit.                      │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ config           Kiara config related sub-commands.                          │
│ context          Kiara context related sub-commands.                         │
│ data             Data-related sub-commands.                                  │
│ data-type        Information about available data types.                     │
│ doc              Documentation helpers.                                      │
│ module           Module-related sub-commands.                                │
│ operation        Operation-related sub-commands.                             │
│ pipeline         Pipeline-related sub-commands.                              │
│ render           Rendering-related sub-commands.                             │
│ run              Run a kiara operation.                                      │
│ workflow         Workflow-related sub-commands.                              │
╰──────────────────────────────────────────────────────────────────────────────╯

The same goes for any of the sub (or sub-sub...) commands:

kiara module --help
                                                                                
 Usage: kiara module [OPTIONS] COMMAND [ARGS]...                                
                                                                                
 Module-related sub-commands.                                                   

╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help  -h    Show this message and exit.                                    │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ explain                    Print details of a module type.                   │
│ explain-instance           Describe a module instance.                       │
│ list                       List available module data_types.                 │
╰──────────────────────────────────────────────────────────────────────────────╯

Complex inputs

TBD