maton github repo edit
maton github repo edit [flags]
Patch repository settings. Pass –topics with a comma-separated list to replace the topic set; an empty value clears them. Boolean flags only apply when explicitly set.
Options
-
--allow-auto-merge - Allow auto-merge on PRs
-
--allow-merge (default true) - Allow merge commits on PRs
-
--allow-rebase (default true) - Allow rebase-merging on PRs
-
--allow-squash (default true) - Allow squash-merging on PRs
-
--archived - Archive (true) or unarchive (false) the repository
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--default-branch <string> - New default branch name
-
--delete-branch-on-merge - Delete head branches automatically after PR merge
-d,--description <string>- New description
-
--dry-run - Print the request that would be sent without executing it
-
--enable-issues (default true) - Enable issues
-
--enable-projects (default true) - Enable projects
-
--enable-wiki (default true) - Enable wiki
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-h,--homepage <string>- New homepage URL
-q,--jq <expression>- Filter JSON output using a jq expression
-
--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"
-
--topics <string> - Comma-separated topics to replace the set with (empty clears)
-
--visibility <string> - public, private, or internal
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 repo edit --repo maton-ai/cli --description "Maton CLI"
$ maton github repo edit --repo maton-ai/cli --topics cli,maton --enable-wiki=false
$ maton github repo edit --repo maton-ai/cli --visibility private