circleci policy fetch

Fetch policy bundle (or a single policy)

Synopsis

Fetch policy bundle (or a single policy)

circleci policy fetch [policy_name] [flags]

Examples

circleci policy fetch --owner-id 516425b2-e369-421b-838d-920e1f51b0f5

Flags

      --context string    policy context (default "config")
  -h, --help              help for fetch
      --owner-id string   the id of the policy's owner

Flags inherited from parent commands

      --host string              URL to your CircleCI host, also CIRCLECI_CLI_HOST (default "https://circleci.com")
      --policy-base-url string   base url for policy api (default "https://internal.circleci.com")
      --skip-update-check        Skip the check for updates check run before every command. (default true)
      --token string             your token for using CircleCI, also CIRCLECI_CLI_TOKEN

SEE ALSO