Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 3.05 KB

File metadata and controls

61 lines (46 loc) · 3.05 KB

coconut template list

list available workflow templates

Synopsis

The template list command shows a list of available workflow templates. These workflow templates can then be loaded to create an environment.

coconut templ list can be called with

  1. a combination of the --repo , --revision , --all-branches , --all-tags , --all-workflows flags, or with
  2. an argument in the form of [repo-pattern]@[revision-pattern], where the patterns are globbing.
coconut template list [flags]

Examples

 * `coconut templ list` lists templates from the HEAD of master for all git repositories
 * `coconut templ list --all-workflows` lists all templates (including non-public ones) from the HEAD of master for all git repositories
 * `coconut templ list '*AliceO2Group*'` lists all templates coming from the HEAD of master of git repositories that match the pattern *AliceO2Group*
 * `coconut templ list '*@v*'` lists templates coming from revisions matching the `v*`pattern for all git repositories
 * `coconut templ list --repository='*AliceO2Group*'` lists all templates coming from the HEAD of master of git repositories that match the pattern *AliceO2Group*
 * `coconut templ list --revision='dev*'` lists templates coming from revisions matching the `dev*`pattern for all git repositories
 * `coconut templ list --repository='*gitlab.cern.ch*' --revision=master` lists templates for revisions `master`for git repositories matching `*gitlab.cern.ch*`
 * `coconut templ list --all-branches` lists templates from all branches for all git repositories
 * `coconut templ list --repository='*github.com*' --all-tags` lists templates from all tags for git repositories which match the *github.com* pattern
 * `coconut templ list --revision=5c7f1c1fded1b87243998579ed876c8035a08377 ` lists templates from the commit corresponding to the hash for all git repositories

Options

  -b, --all-branches        list templates from all branches
  -t, --all-tags            list templates from all tags
  -a, --all-workflows       list all templates, even non-public ones
  -h, --help                help for list
  -r, --repository string   repositories to list templates from
  -i, --revision string     revisions (branches/tags) to list templates from
  -d, --show-description    show the description of each template

Options inherited from parent commands

      --config string            optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml)
      --config_endpoint string   configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "apricot://127.0.0.1:32101")
      --endpoint string          AliECS core endpoint as HOST:PORT (default "127.0.0.1:32102")
      --nocolor                  disable colors in output
      --nospinner                disable animations in output
  -v, --verbose                  show verbose output for debug purposes

SEE ALSO

  • coconut template - query available workflow templates in configuration repositories
Auto generated by spf13/cobra on 27-Nov-2024