Skip to content
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

Take in workspace name in mantis-app init #26

Closed
1 task done
RyanClementsHax opened this issue Feb 26, 2024 · 0 comments · Fixed by #27
Closed
1 task done

Take in workspace name in mantis-app init #26

RyanClementsHax opened this issue Feb 26, 2024 · 0 comments · Fixed by #27

Comments

@RyanClementsHax
Copy link
Collaborator

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

mantis-app init creates a workspace named mantis-todo. This name cannot be changed.

Describe the solution you'd like

Prompt the user for the workspace name when creating the app.

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

This gives the user the ability to customize their app name.

RyanClementsHax added a commit that referenced this issue Feb 26, 2024
- prompt user for workspace name
- validate workspace name
- replaceInFiles to be more typesafe by making it harder to accidentally switch searchStr and replaceStr
- default to template name for workspace name
- replace workspace name in template to the one provided by user

Closes #26
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 a pull request may close this issue.

1 participant