Skip to content

Commands

HeliosAOT is a Python-based CLI that supports various commands with configurable arguments. Each command can accept options directly via flags, via a YAML configuration file, or both, with flags taking precedence over YAML options. This allows for flexible and convenient configuration of the CLI.

Available Commands

  • version: Show the version of the HeliosAOT CLI.
  • convert: Convert a model to a standalone C inference module.

Passing arguments

  • Via flags: specify each option on the command line:

    helios-aot [command] \
      --flag value \
      --nested.flag other-value
    
  • Via YAML: provide a config file:

    helios-aot [command] --path configuration.yaml
    
Mixing YAML and CLI flags

The CLI allows providing both YAML and CLI flags. CLI flags take precedance over YAML options and will override any equivalent options in the YAML file. For example, you can use a YAML file for most options and then override the --verbose level directly in the command line.

helios-aot [command] --path configuration.yaml --verbose 2