-
Notifications
You must be signed in to change notification settings - Fork 639
spacetime init rewrite
#3366
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
base: master
Are you sure you want to change the base?
spacetime init rewrite
#3366
Conversation
c022d34 to
ea0f0f7
Compare
ea0f0f7 to
e536cc3
Compare
10f14ee to
cc118cc
Compare
|
@cloutiertyler sorry about that. I'm not sure what was wrong, but yesterday when I was working on Output |
|
While looking at this in context of |
It was added first when the requirements were different. At the moment we only allow to chose server-lang if template is not provided
dfa4da7 to
db22a7f
Compare
…us/spacetime-init
Signed-off-by: Tyler Cloutier <[email protected]>
| } | ||
|
|
||
| let cursorrules_content = embedded::get_cursorrules(); | ||
| let cursorrules_path = project_path.join(".cursorrules"); |
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.
the cursorrules_content should go in .cursor/rules/spacetime-rules.mdc. (kebab case is preferred)


This is a draft of the new functionality for
spacetime init. In order to run it with built-in templates you have to set the path to the config file:In the future it will fetch the list from GH.
A few notes:
spacetime initdoes not work at the momentspacetimedbdirectory for the server filesmissing --foo, we will automatically launch interactive mode, which is harder to debug. That's why I think I'd prefer to implement--non-interactiveargument--langor--project-pathexplicitly, I guess we could run the legacy workflow, but not sure if it's worth it, as the command was marked as unstable anyway