Skip to content

docs(repo-create): explain the random domain in help text - #267

Draft
angeloashmore wants to merge 2 commits into
mainfrom
aa/document-repo-domain--hive-5
Draft

docs(repo-create): explain the random domain in help text#267
angeloashmore wants to merge 2 commits into
mainfrom
aa/document-repo-domain--hive-5

Conversation

@angeloashmore

Copy link
Copy Markdown
Member

Summary

prismic repo create --help did not explain the random domain. Users and AI agents saw a domain like 0b4d7321 and assumed the command failed.

This adds text to the help output:

  • The CLI picks a random domain (for example, 0b4d7321).
  • You cannot choose or change the domain.
  • The command prints the domain and the repository URL when it finishes.

Test plan

  • node --run lint
  • node --run types
  • node --run unit
  • --help e2e test asserts the new text

Comment thread src/commands/repo-create.ts Outdated
Drop "You cannot choose or change the domain." It sounded blunt.
Say the random domain is expected instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant