Skip to content

Commit df8a877

Browse files
authored
Merge pull request #1136 from CircleCI-Public/update-create-project-text
Update project create help text
2 parents 3c8e997 + f8495b5 commit df8a877

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

cmd/project/create.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,20 @@ var projectName string
1111

1212
func 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
1818
The 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]

0 commit comments

Comments
 (0)