maton github issue develop
maton github issue develop <number-or-url> [flags]
Create a linked branch for an issue, or list linked branches with –list. Without –base-branch the linked branch is created off the repo’s default branch.
Options
-
--base-branch <string> - Branch to base the new branch off
-
--base-repo <string> - Repository to create the branch in (defaults to --repo)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-l,--list- List linked branches instead of creating one
-n,--name <string>- Branch name to create
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-R,--repo <owner/repo>- Target repository in owner/repo form (required)
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton github issue develop 123 --repo maton-ai/cli
$ maton github issue develop 123 --repo maton-ai/cli --name fix-login --base-branch main
$ maton github issue develop 123 --repo maton-ai/cli --list