A command-line tool that generates a shell script to reproduce an entire codebase. The script can be customized to accept arguments to conditionally include or exclude specified contents, and execute additional scripts, providing flexible control for framework instantiation.
npm i -g bootstrapper-script-generator
-
Navigate to the directory where the script will be created.
-
Run the bootstrapper script generator by using the
make-bootstrapper-script
command and naming the output script file followed by the relative path to the directory intended to be bootstrapped. For example:make-bootstrapper-script new-bootstrapper-script.zsh ../path/to/the/project
-
Make the generated script executable:
chmod +x new-bootstrapper-script.zsh
-
Execute the generated script:
./new-bootstrapper-script.zsh
This recreates the codebase in the current directory.
Contributions are welcome! If you have ideas for improvements, please open an issue first for discussion before submitting a pull request.
You can report issues or start discussions here: Open an issue