CLI
Getting Started with the CLI
1
comtrya <manifest-location> [FLAGS] [OPTIONS]
Copied!
Comtrya supports local and remote manifest locations. See examples below

Flags

    comtrya -h, --help Prints help information
    comtrya -V, --version Prints help information
    comtrya -v, --verbose Debug & tracing mode (-v, -vv)

Options

    comtrya -m, --manifests <manifests>... Run a subset of your manifests, comma separated list

ARGS

    comtrya <manifest-location> Manifests can come from multiple locations, such as local directory or Git repository.

Examples

1
# Manifests in a local directory
2
comtrya .
3
​
4
# Manifests in a Git repository
5
comtrya https://github.com/rawkode/rawkode
6
​
7
# Execute a single manifest from a local directory
8
comtrya . -m EXAMPLE
9
​
10
# Execute multiple manifests from a local directory
11
comtrya . -m EXAMPLE,TEST
Copied!
We plan on supporting the same Git "syntax" that docker image build supports for remote build contexts. You can subscribe to progress here.
1
myrepo.git
2
myrepo.git#mytag
3
myrepo.git#mybranch
4
myrepo.git#pull/42/head
5
myrepo.git#:myfolder
6
myrepo.git#main:myfolder
7
myrepo.git#mytag:myfolder
8
myrepo.git#mybranch:myfolder
Copied!
Last modified 4mo ago
Copy link