-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'create' project command #8
Conversation
404Wolf
commented
Mar 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
I do wonder if we should init a project with a readme (for humans and for LLMs) and maybe example http and script vals. But that is surely scope-creep for the time being.
.option("--public", "Create as public project (default)") | ||
.option("--private", "Create as private project") | ||
.option("--unlisted", "Create as unlisted project") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be better as an argument? vt create [privacy]
or a single --privacy=
flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to keep it similar to github's cli here. Github uses gh repo create --public foobar
. What do you think with that in mind?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah cool, makes sense
I don't like this mostly because it adds discontinuity with the website, and is going to be better implemented once we get a fork endpoint and add a fork command. Configuration (files/global config) is not far down the road, and I think we should allow a user to provide a default project to fork when creating projects as one option. I also think we should let users specify a folder to use as their "template" (different from remote forks). We probably want to spend more time brainstorming this but I think this should be merged as-is for now if that's OK. |
oh yeah just a thought, all good w/ me to merge |