repocfg-demo / list

list - cli-guard examples/repocfg

NAME

list - print the verbs declared in coily.yaml

SYNOPSIS

list

DESCRIPTION

Prints every verb declared in the discovered coily.yaml as ": ". Read-only; does not execute any verb.

Examples:

# in a repo with build + greet verbs declared
cd examples/repocfg
repocfg-demo list
# build: go build ./...
# greet: echo hello world

# no coily.yaml found anywhere in the cwd ancestry
cd /tmp
repocfg-demo list
# error: no .coily/coily.yaml found in cwd ancestry
# exit: 1

Use list to inventory the verb surface before calling run. An agent that discovers a verb here can then invoke it; an agent that does not see the verb listed should not try to invoke it under a different spelling.

Usage:

list [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]