@billogram/generator-app
Scaffold out Billo views
Install
yarn add @billogram/generator-app
Usage
@billogram/app:details
Generate a details view structure
$ npx yo @billogram/app:details --basePath=<path> --prefix=<prefix>
Options:
--basePath the path that is used to determine the output path (required)
--prefix the prefix to use for components, filenames, types etc. (required)
@billogram/app:form
Generate a form section structure for a details view
The assumed structure is `path/to/views/details` for the details view, thus the form section will be put in `path/to/views/details/sections[/something]`.
$ npx yo @billogram/app:form --basePath=<path> [--defaults] --prefix=<prefix>
Options:
--basePath the path that is used to determine the output path (required)
--defaults skip prompt and use default answers (default: false)
--prefix the prefix to use for components, filenames, types etc. (required)
@billogram/app:list
Generate a list view structure
$ npx yo @billogram/app:list --basePath=<path> [--defaults] --prefix=<prefix>
Options:
--basePath the path that is used to determine the output path (required)
--defaults skip prompt and use default answers (default: false)
--prefix the prefix to use for components, filenames, types etc. (required)
@billogram/app:table
Generate a table structure
$ npx yo @billogram/app:table --basePath=<path> [--defaults] --prefix=<name>
Options:
--basePath the path that is used to determine the output path (required)
--defaults skip prompt and use default answers (default: false)
--prefix the prefix to use for components, filenames, types etc. (required)
Note
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.
License
MIT