Skip to main content

A cli tool to generate code base from cookiecutter templates

Project description

Stack Generator

Stack generator is a CLI tool that allows you to generate an application template in one command.

Installation

pip install stack-gen

Requirements

  • A repository containing a cookiecutter template with:
    • 'requirements.txt' file containing required dependencies

      cookiecutter
      GitPython
      python-dotenv
      

Usage

sg -r=fastapi-generator -u=valdo77

Help

Options:
  -r,   --repository TEXT        Name of repository containing the template to generate
  -u    --user TEXT              Name of github's user owning the repository
  -gac  --access_token TEXT      Github access token used to manage branch protection on generation (optional)
                                  
  --help                      Show this message and exit.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stack_gen-0.0.15.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

stack_gen-0.0.15-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page