Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Conversation

@Masterchef365
Copy link
Contributor

@Masterchef365 Masterchef365 commented May 6, 2023

Adds a subcommand to cimvr.py which clones the template repository and changes the name in Cargo.toml to match the name of the project. Also adds a line to ~/.bashrc setting the environment variable up.

Another option would be to wrap cargo new and have it add needed files and append deps to Cargo.toml, but that was more work. Had assistance from ChatGPT working out the details!

It might be best to have a list of "recognized" plugins outside of .bashrc, which would be more platform-agnostic.

TODO:

  • Support other shells besides bash
  • Wrap cargo new instead?

@Masterchef365 Masterchef365 marked this pull request as draft May 7, 2023 00:45
@Masterchef365
Copy link
Contributor Author

Superceded by #81

@MrKangs MrKangs deleted the cimvr-new branch May 24, 2023 02:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants