sklp flag

sklp flag

Description

Manage a project's feature flags (list | enable | disable)

Subcommands

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "flag"
  ],
  "slug": "flag",
  "name": "flag",
  "short": "Manage a project's feature flags (list | enable | disable)",
  "synopsis": "sklp flag",
  "subcommands": [
    {
      "path": [
        "sklp",
        "flag",
        "disable"
      ],
      "slug": "flag-disable",
      "name": "disable",
      "short": "Turn a feature flag off",
      "synopsis": "sklp flag disable [flags] <key>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        }
      ],
      "positionals": [
        {
          "name": "key",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "flag",
        "enable"
      ],
      "slug": "flag-enable",
      "name": "enable",
      "short": "Turn a feature flag on",
      "synopsis": "sklp flag enable [flags] <key>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        }
      ],
      "positionals": [
        {
          "name": "key",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "flag",
        "list"
      ],
      "slug": "flag-list",
      "name": "list",
      "short": "List the project's feature flags",
      "synopsis": "sklp flag list [flags]",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        },
        {
          "name": "plain",
          "usage": "emit TSV (one row per flag, no header)",
          "type": "bool"
        }
      ]
    }
  ]
}

See also