sklp issue

sklp issue

Description

Valid types: bug, feature, task, other. Valid statuses: backlog, in_progress, done, wontfix.

Subcommands

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "issue"
  ],
  "slug": "issue",
  "name": "issue",
  "short": "Manage project issues (list | new | show | edit | status | promote | gh-*)",
  "long": "Valid types: bug, feature, task, other. Valid statuses: backlog, in_progress, done, wontfix.",
  "synopsis": "sklp issue",
  "subcommands": [
    {
      "path": [
        "sklp",
        "issue",
        "edit"
      ],
      "slug": "issue-edit",
      "name": "edit",
      "short": "Update title/body/type of an issue",
      "synopsis": "sklp issue edit [flags] <id>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "title",
          "usage": "new title (omit to keep)",
          "type": "string"
        },
        {
          "name": "body",
          "usage": "new body (omit to keep; empty string clears)",
          "type": "string"
        },
        {
          "name": "type",
          "usage": "new type (bug|feature|task|other)",
          "type": "string"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        }
      ],
      "positionals": [
        {
          "name": "id",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "gh-close"
      ],
      "slug": "issue-gh-close",
      "name": "gh-close",
      "short": "Close the linked GitHub issue (mirror state only)",
      "synopsis": "sklp issue gh-close [flags] <id>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "title",
          "usage": "title override (only used by gh-link)",
          "type": "string"
        },
        {
          "name": "body",
          "usage": "body override (only used by gh-link)",
          "type": "string"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        }
      ],
      "positionals": [
        {
          "name": "id",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "gh-link"
      ],
      "slug": "issue-gh-link",
      "name": "gh-link",
      "short": "Open a GitHub mirror issue for the issue",
      "synopsis": "sklp issue gh-link [flags] <id>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "title",
          "usage": "title override (only used by gh-link)",
          "type": "string"
        },
        {
          "name": "body",
          "usage": "body override (only used by gh-link)",
          "type": "string"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        }
      ],
      "positionals": [
        {
          "name": "id",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "gh-reopen"
      ],
      "slug": "issue-gh-reopen",
      "name": "gh-reopen",
      "short": "Reopen the linked GitHub issue (mirror state only)",
      "synopsis": "sklp issue gh-reopen [flags] <id>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "title",
          "usage": "title override (only used by gh-link)",
          "type": "string"
        },
        {
          "name": "body",
          "usage": "body override (only used by gh-link)",
          "type": "string"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        }
      ],
      "positionals": [
        {
          "name": "id",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "gh-unlink"
      ],
      "slug": "issue-gh-unlink",
      "name": "gh-unlink",
      "short": "Drop the GitHub tracker link",
      "synopsis": "sklp issue gh-unlink [flags] <id>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        }
      ],
      "positionals": [
        {
          "name": "id",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "list"
      ],
      "slug": "issue-list",
      "name": "list",
      "short": "List issues for a project or stack",
      "synopsis": "sklp issue list [flags]",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "stack",
          "usage": "stack id (alternative to --project)",
          "type": "string"
        },
        {
          "name": "status",
          "usage": "filter by status (backlog|in_progress|done|wontfix)",
          "type": "string"
        },
        {
          "name": "type",
          "usage": "filter by type (bug|feature|task|other) — client-side",
          "type": "string"
        },
        {
          "name": "limit",
          "usage": "cap the number of rows shown (0 = no cap)",
          "type": "int"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        },
        {
          "name": "plain",
          "usage": "emit TSV (one row per issue, no header)",
          "type": "bool"
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "new"
      ],
      "slug": "issue-new",
      "name": "new",
      "short": "Create a new issue (optionally with attachments)",
      "synopsis": "sklp issue new [flags] <title>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "body",
          "usage": "issue body (markdown)",
          "type": "string"
        },
        {
          "name": "type",
          "usage": "type (bug|feature|task|other)",
          "type": "string"
        },
        {
          "name": "status",
          "usage": "initial status (backlog|in_progress|done|wontfix)",
          "type": "string"
        },
        {
          "name": "attach",
          "usage": "path to a file to attach (repeatable)",
          "type": "stringSlice"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        }
      ],
      "positionals": [
        {
          "name": "title",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "promote"
      ],
      "slug": "issue-promote",
      "name": "promote",
      "short": "Promote a feedback into an issue",
      "synopsis": "sklp issue promote [flags] <feedback-id>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "title",
          "usage": "override the promoted issue title",
          "type": "string"
        },
        {
          "name": "body",
          "usage": "override the promoted issue body",
          "type": "string"
        },
        {
          "name": "type",
          "usage": "override the promoted issue type",
          "type": "string"
        },
        {
          "name": "status",
          "usage": "initial status for the new issue",
          "type": "string"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        }
      ],
      "positionals": [
        {
          "name": "feedback-id",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "show"
      ],
      "slug": "issue-show",
      "name": "show",
      "short": "Show details of a single issue",
      "synopsis": "sklp issue show [flags] <id>",
      "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"
        }
      ],
      "positionals": [
        {
          "name": "id",
          "required": true
        }
      ]
    },
    {
      "path": [
        "sklp",
        "issue",
        "status"
      ],
      "slug": "issue-status",
      "name": "status",
      "short": "Change an issue's workflow status",
      "synopsis": "sklp issue status [flags] <id> <status>",
      "flags": [
        {
          "name": "project",
          "usage": "project id (defaults to SKLP_PROJECT)",
          "type": "string",
          "envFallback": "SKLP_PROJECT"
        },
        {
          "name": "reason",
          "usage": "closed_reason (used when status closes the issue)",
          "type": "string"
        },
        {
          "name": "json",
          "usage": "emit raw JSON from the API",
          "type": "bool"
        }
      ],
      "positionals": [
        {
          "name": "id",
          "required": true
        },
        {
          "name": "status",
          "required": true
        }
      ]
    }
  ]
}

See also