Skip to content

CLI to create a new folder and repository for an Octoherd Script

License

Notifications You must be signed in to change notification settings

octoherd/create-octoherd-script

Repository files navigation

Create new Octoherd Script

CLI to create a new folder and repository for an Octoherd Script

Usage

npm init octoherd-script

What it does

  • 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

Contribute

Pull requests welcome!

License

ISC