You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
prismic init creates a repository with a generated domain and uses the domain as the display name. There is no option to set the display name at creation time. prismic repo create has --name for this. prismic init does not.
In the recorded eval runs for #276, 3 of 6 failed trials stopped to ask the user for a repository name. The agent had no option to pass one.
Describe the solution you'd like
Add a --name option to prismic init. Pass the value to createRepo as the display name, the same as prismic repo create --name.
npx prismic init --name "Marketing Site"
Describe alternatives you've considered
Keep init as it is. Run prismic repo set-name "Marketing Site" after init. This works but takes two commands.
Found while designing the fix for #276. Evaluate at a later time. The --repo option connects to an existing repository by domain, so --name must not be confused with it.
Is your feature request related to a problem? Please describe.
prismic initcreates a repository with a generated domain and uses the domain as the display name. There is no option to set the display name at creation time.prismic repo createhas--namefor this.prismic initdoes not.In the recorded eval runs for #276, 3 of 6 failed trials stopped to ask the user for a repository name. The agent had no option to pass one.
Describe the solution you'd like
Add a
--nameoption toprismic init. Pass the value tocreateRepoas the display name, the same asprismic repo create --name.Describe alternatives you've considered
initas it is. Runprismic repo set-name "Marketing Site"afterinit. This works but takes two commands.initexplain in its help that the domain is generated and thatrepo set-namerenames the repository. This is the plan in evals: agent stops before it runs prismic init #276.Additional context
Found while designing the fix for #276. Evaluate at a later time. The
--repooption connects to an existing repository by domain, so--namemust not be confused with it.