generator-sota

sota-generator

Usage no npm install needed!

<script type="module">
  import generatorSota from 'https://cdn.skypack.dev/generator-sota';
</script>

README

sota-generator

Installation

First, install Yeoman and generator-sota using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-sota

Then generate your new project:

yo sota

or

yo sota init
yo sota screen Table/Detail/Editor folderName stateName
yo sota modal modalName httpRequestName or yo sota modal modalName httpRequestName
yo sota core serviceName stateName
yo sota http httpFileName routeName

Selector

creating selector should not have a work selector as it will be added by the app.

options

--force, -f         # will force to update file
--attach, -a        # Screen Name where to attach newly created modal
--delete, -d        # will add delete action to modal

additional information Create an alias command to remove the yo

  1. Open terminal
  2. Go to home
  3. Open .bashrc
  4. Add alias sota='yo sota' at the end of file
  5. Save file
  6. run source ~/.bashrc

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Rowel de Guzman