CLI to create a new folder and repository for an Octoherd Script
npm init octoherd-script
- Creates a new folder on your machine
- Inits git in the new folder
- Add
LICENSE
,CODE_OF_CONDUCT.md
,README.md
and issue templates - Prompts for script options and adds according documentation to the
README.md
file - Creates a repository
- Adds repository as
git remote add origin <url>
- Push the files to main
- Creates a new local branch called
initial-version
- Adds files for the script, CLI, and more meta files
- Adds branch protection (if possible)
- Adds workflow files for tests and automated releases to GitHub and npm
- Creates a pull request with further instructions
Pull requests welcome!