maton github repo create

maton github repo create <name> [flags]

Create a repository owned by the authenticated user, or by the org named via ‘owner/name’ as the positional argument. Defaults to a public repo with no template, license, or .gitignore.

Options

--connection <string>
Connection ID to route through (Maton-Connection header)
-d, --description <string>
Description of the repository
--disable-issues
Disable issues for the new repo
--disable-wiki
Disable wikis for the new repo
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
--from-template <owner/name>
Template repo to base this on, in owner/name form
-g, --gitignore <string>
.gitignore template name (e.g. Go, Node)
-h, --homepage <string>
Homepage URL
--include-all-branches
(template only) include all branches, not just default
-q, --jq <expression>
Filter JSON output using a jq expression
-l, --license <string>
License keyword (e.g. mit, apache-2.0)
--paginate
Follow next_cursor and concatenate all pages (list commands only)
-t, --team <string>
(org only) team slug to grant access to the repo
--template <string>
Format JSON output using a Go template; see "maton help formatting"
--visibility <string> (default "public")
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 create my-thing --description "A new project" --visibility private
$ maton github repo create maton-ai/my-org-thing --visibility public --license MIT

See also