Linux command
concord 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show the installed CLI version
concord --version
Lint Concord YAML files in the current directory
concord lint
Lint files in a specific directory with verbose output
concord lint -v [path/to/project]
Run the default flow defined in concord.yml locally
concord run
Run with a custom local secret directory
concord run --secret-dir=[$HOME/.my_secrets]
说明
concord is the command-line companion to the Concord workflow orchestration server developed by Walmart Labs. The CLI focuses on the local development loop: - Linting parses concord.yml and any imported YAML, validating DSL syntax and expression syntax. It does not require a running Concord server. - Running flows locally executes a flow on the developer machine, resolving Maven dependencies into $HOME/.concord/depsCache and Git imports into $HOME/.concord/repoCache. Local file-based secrets are resolved from $HOME/.concord/secrets (or the directory passed to --secret-dir). Local execution supports standard flow elements, tasks, external dependencies, Git imports, and string/key-pair/credential/file secrets. Forms, profiles, and password-protected secrets are currently unsupported. Local execution forces the runtime to concord-v2.
参数
- -h, --help
- Show help text.
- -v, --verbose
- Verbose output (lint command).
- --secret-dir _DIR_
- Directory used by the local secret resolver (default $HOME/.concord/secrets).
- --version
- Print the CLI version.
FAQ
What is the concord command used for?
concord is the command-line companion to the Concord workflow orchestration server developed by Walmart Labs. The CLI focuses on the local development loop: - Linting parses concord.yml and any imported YAML, validating DSL syntax and expression syntax. It does not require a running Concord server. - Running flows locally executes a flow on the developer machine, resolving Maven dependencies into $HOME/.concord/depsCache and Git imports into $HOME/.concord/repoCache. Local file-based secrets are resolved from $HOME/.concord/secrets (or the directory passed to --secret-dir). Local execution supports standard flow elements, tasks, external dependencies, Git imports, and string/key-pair/credential/file secrets. Forms, profiles, and password-protected secrets are currently unsupported. Local execution forces the runtime to concord-v2.
How do I run a basic concord example?
Run `concord --version` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -h, --help do in concord?
Show help text.