sklp flow end

sklp flow end [flags]

Description

Diff the current branch vs --onto, push it and open a PR. CI then runs on the PR itself, so the pipeline is not executed here: running it locally too would do the same work twice on the same commit. --local runs the pipeline on this machine instead and pushes nothing, for checking a change before it leaves the laptop.

Flags

FlagAliasesTypeDefaultEnvDescription
--onto—stringmain—target ref the feature builds on / diffs against
--pipeline—string——pipeline name under .sklp/pipelines/ to run with --local (empty = auto-select by scope match)
--local-testbool——run the pipeline on this machine instead of opening a PR
--no-test—bool——only show the diff + impacted scope; do nothing else

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "flow",
    "end"
  ],
  "slug": "flow-end",
  "name": "end",
  "short": "Push the branch and open a PR into --onto; CI runs on the PR",
  "long": "Diff the current branch vs --onto, push it and open a PR. CI then runs\non the PR itself, so the pipeline is not executed here: running it\nlocally too would do the same work twice on the same commit.\n\n--local runs the pipeline on this machine instead and pushes nothing,\nfor checking a change before it leaves the laptop.",
  "synopsis": "sklp flow end [flags]",
  "flags": [
    {
      "name": "onto",
      "usage": "target ref the feature builds on / diffs against",
      "type": "string",
      "default": "main"
    },
    {
      "name": "pipeline",
      "usage": "pipeline name under .sklp/pipelines/ to run with --local (empty = auto-select by scope match)",
      "type": "string"
    },
    {
      "name": "local",
      "aliases": [
        "test"
      ],
      "usage": "run the pipeline on this machine instead of opening a PR",
      "type": "bool"
    },
    {
      "name": "no-test",
      "usage": "only show the diff + impacted scope; do nothing else",
      "type": "bool"
    }
  ]
}

See also