Skip to content

CLI tool that generates customizable shell scripts for bootstrapping specifiable codebase directories

License

Notifications You must be signed in to change notification settings

mattfsourcecode/bootstrapper-script-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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.

Install globally

npm i -g bootstrapper-script-generator

Usage

  1. Navigate to the directory where the script will be created.

  2. 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
  3. Make the generated script executable:

    chmod +x new-bootstrapper-script.zsh
  4. Execute the generated script:

    ./new-bootstrapper-script.zsh

    This recreates the codebase in the current directory.


Enjoy using the Bootstrapper Script Generator to customize new framework creation!


logo

Contributions and Issues

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