blueprint-gen
v1.0.83
Published
This is a little meta, this project is a CLI utility that allows generating Blueprint file definitions.
Downloads
5
Readme
Blueprintgen
This is a little meta, this project is a CLI utility that allows generating Blueprint file definitions.
Goals
- It should allow the creation of Blueprint file definitions using a CLI approach
- It should keep updated with the latest Blueprint definition specification
Usage
Below is the most basic example of usage, those two lines will create the Default example shown on the Blueprint's project repository.
hygen model new Post --title string:400 --content longtext --author_id id:user --published_at 'nullable timestamp'
hygen controller new Post --args
Dockerized version
docker build -t blueprintgen .
alias blueprintgen='docker run -it blueprintgen'
# run as
# blueprintgen model new Post --title string:400 --content longtext --author_id id:user --published_at 'nullable timestamp'
Development
# first build the docker image
docker build -t blueprintgen .
# now you can mount the cli helper and work on new features
docker run -it -v `pwd`/cli:/home/sandbox/cli blueprintgen