File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -45,18 +45,21 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
4545 Long : `Create a new GitHub repository.` ,
4646 Args : cobra .MaximumNArgs (1 ),
4747 Example : heredoc .Doc (`
48- # create a repository under your account using the current directory name
49- $ gh repo create
50-
51- # create a repository with a specific name
52- $ gh repo create my-project
53-
54- # create a repository in an organization
55- $ gh repo create cli/my-project
56- ` ),
57- Annotations : map [string ]string {"help:arguments" : `A repository can be supplied as an argument in any of the following formats:
58- - <OWNER/REPO>
59- - by URL, e.g. "https://github.com/OWNER/REPO"` },
48+ # create a repository under your account using the current directory name
49+ $ gh repo create
50+
51+ # create a repository with a specific name
52+ $ gh repo create my-project
53+
54+ # create a repository in an organization
55+ $ gh repo create cli/my-project
56+ ` ),
57+ Annotations : map [string ]string {
58+ "help:arguments" : heredoc .Doc (
59+ `A repository can be supplied as an argument in any of the following formats:
60+ - <OWNER/REPO>
61+ - by URL, e.g. "https://github.com/OWNER/REPO"` ),
62+ },
6063 RunE : func (cmd * cobra.Command , args []string ) error {
6164 if len (args ) > 0 {
6265 opts .Name = args [0 ]
You can’t perform that action at this time.
0 commit comments