Skip to main content

opctl ls

List operations

Synopsis

DIR_REF can be either a 'relative/path', '/absolute/path', 'host/repo-path#tag', or 'host/repo-path#tag/path'.

opctl ls [DIR_REF] [flags]

Examples

# List all ops defined in the '.opspec' directory of the current working directory.
opctl ls

# List all ops defined in the .opspec directory of the 'github.com/opspec-pkgs/github.release.create' git repository commit tagged '3.0.0'.
opctl ls github.com/opspec-pkgs/github.release.create#3.0.0

Options

  -h, --help   help for ls

Options inherited from parent commands

      --api-listen-address string   IP:PORT on which the API server will listen (env $OPCTL_API_LISTEN_ADDRESS) (default "127.0.0.1:42224")
--container-runtime string Runtime for opctl containers. Can be 'docker' (deprecated), 'k8s', or 'embedded' (env $OPCTL_CONTAINER_RUNTIME) (default "docker")
--data-dir string Path of dir used to store opctl data (env $OPCTL_DATA_DIR) (default "/root/opctl")
--dns-listen-address string IP:PORT on which the DNS server will listen (env $OPCTL_DNS_LISTEN_ADDRESS) (default "127.0.0.1:53")
--no-color Disable output coloring (env $OPCTL_NO_COLOR)

SEE ALSO

  • opctl - Opctl is a free and open source distributed operation control system