A CLI tool to create project stubs with templated files based on user-defined options.
- Download GitHub repository contents when creating a new project
- Customizable project setup with various options
- Support for multiple programming languages
- Automatic creation of common project files (README, LICENSE, .gitignore, etc.)
- Configurable workflow files for GitHub Actions
- Optional inclusion of Makefile and version file
- Clear terminal screen functionality
This CLI tool works in conjunction with Vscode template repo which is where the files are pulled from.
repo-stub <output-directory> [flags]
-r, --repo-name string
: Name of the repository (default "vscode")-o, --repo-owner string
: Owner of the repository (default "ondrovic")-b, --branch-name string
: Branch name you wish to pull from (default "master")-t, --github-token string
: GitHub API token-p, --project-language string
: What language is your app in (default "go")-l, --license-type string
: What license are you using (default "mit")-m, --include-makefile
: Include a Makefile-v, --include-version-file
: Include a version file-w, --overwrite-files
: Overwrite existing files
Create a new Go project with MIT license:
repo-stub my-new-project -p go -l mit
Create a Python project with a Makefile and version file:
repo-stub my-python-project -p python -m -v
The CLI includes a version command that provides information about the current version and checks for available upgrades:
repo-stub version
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.