Content-Length: 296375 | pFad | https://github.com/fastapi-mvc/copier-generator

04 GitHub - fastapi-mvc/copier-generator: Copier template for scaffolding new generator for fastapi-mvc
Skip to content

fastapi-mvc/copier-generator

Repository files navigation

Copier Generator

Copier template for scaffolding new generator upon fastapi-mvc project.

Quickstart

Using fastapi-mvc

Prerequisites:

  • fastapi-mvc
  • Git 2.27 or newer
git clone "https://github.com/fastapi-mvc/copier-generator.git"
FMVC_PATH="$PWD:$FMVC_PATH" fastapi-mvc generate generator /path/to/your/new/generator

Using copier

To use this template outside fastapi-mvc:

Prerequisites:

copier copy "https://github.com/fastapi-mvc/copier-generator.git" /path/to/your/new/generator

Using Nix

Prerequisites:

nix develop
copier copy "https://github.com/fastapi-mvc/copier-generator.git" /path/to/your/new/generator

Updating

To update your generator with the changes from the upstream run:

./update.sh
# Or
nix run .#update

This action will not update/override your template and its configuration, but rather generators common files:

  • Nix expression files
  • README.md
  • dotfiles
  • LICENSE

List of excluded files/paths:

  • template/**
  • copier.yml
  • *.py
  • CHANGELOG.md

Lastly, you can pass extra copier CLI options should you choose:

./update.sh -x README.md --vcs-ref=custom_branch
# Or
nix run .#update -- -x README.md --vcs-ref=custom_branch

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •  








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/fastapi-mvc/copier-generator

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy