Creator is a command-line tool designed to help maintain a consistent folder structure in your projects, particularly tailored for React Native applications. It allows you to define and enforce a folder structure pattern through a config.json
file.
This is the current roadmap for Creator:
-
Folder Structure Definition: Define and customize your project's folder structure using a
config.json
file. -
Source Directory Definition: Define and customize where your project's folder structure will be created.
-
Generate Code Definition: Generate code based on the config file.
-
CLI Interface: Use a simple and intuitive command-line interface to create:
- new features
- new core
- new application
- new subdirectory based on the config file
Currently, you can download pre-built binaries for this project from the Releases page. Select the appropriate version and download the binary for your platform.
After downloading the binary, you can follow these steps to install and use the CLI:
-
Linux:
chmod +x creator sudo mv creator /usr/local/bin/
-
macOS:
chmod +x creator mv creator /usr/local/bin/
TODO: include screenshots or gif
You can see all the CLI commands by running the following command.
creator --help
Screen.Recording.2024-03-05.at.22.56.43.mov
We welcome contributions to make Creator even better. If you have suggestions, bug reports, or want to contribute code, follow these steps:
-
Assuming that you have
-
To run Creator on your machine in developer mode, follow these steps:
# Clone the repository git clone https://github.com/andraderaul/creator.git # Change into the project directory cd creator # Build the project cargo build # Run the project cargo run -- new-feature my_feature
-
Fork the project.
-
Create your feature branch:
git checkout -b feature/my-feature
. -
Commit your changes:
git commit -am 'Add new feature'
. -
Push to the branch:
git push origin feature/my-feature
. -
Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
TODO: Improve this section
For questions, feedback, or issues, feel free to reach out:
- Email: theandraderaul@gmail.com