File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,20 @@ var projectName string
1111
1212func newProjectCreateCommand (ops * projectOpts , preRunE validator.Validator ) * cobra.Command {
1313 cmd := & cobra.Command {
14- Use : "create <vcs-type> <org-name > [--name <project-name>]" ,
14+ Use : "create <vcs-type> <orgSlug > [--name <project-name>]" ,
1515 Short : "Create a new project in a CircleCI organization." ,
1616 Long : `Create a new project in a CircleCI organization.
1717
1818The project name can be provided using the --name flag. If not provided, you will be prompted to enter it.
1919
20- Example:
21- circleci project create github my-org --name my-new-project
20+ Examples:
21+ circleci project create github orgSlug --name my-new-project
22+ circleci project create circleci orgSlug --name my-new-project
2223
23- Note: For those with the circleci vcs type, you must use the hashed organization name, not the human readable name.
24- You can get this from the URL of the organization on the web.
24+ The orgSlug can be retrieved from the CircleCI web app > Organization Settings > Organization slug.
2525
26- Example:
27- https://app.circleci.com/organization/circleci/GQERGDFG13454135 -> GQERGDFG13454135
28- Not the org name like: "test-org"` ,
26+ Example orgSlug:
27+ in the CircleCI web app, circleci/9YytKzouJxzu4TjCRFqAoD -> 9YytKzouJxzu4TjCRFqAoD is the organization slug` ,
2928 PreRunE : preRunE ,
3029 RunE : func (cmd * cobra.Command , args []string ) error {
3130 vcsType := args [0 ]
You can’t perform that action at this time.
0 commit comments