Fast n easy forms for the web.
npm install formgunnpm install formgun``
Usage
* Create a new form
``fgun create booking``
* Add some inputs
``fgun update booking --add input --name email --type string``
* Host it
``fgun host booking ``
Form will be hosted at http://localhost:3000.
$3
shorter syntax is also supported:
``fgun update booking -a input -n email -t string``
HTML containing the form is generated under ``./booking/``
Documentation
Command pattern is: ``fgun {create/update/host} {form-name}`` see below.
$3
Creates a new form. Form is generated under ``./{form-name}/`` directory.
$3
Update form.
* ``--add, -a `` adds to form. Possible values: ``input``
#### adding input (``--add input``):
* ``--name, -n`` name of input
* ``--type, -t`` type of input (html5 input types)
$3
Hosts the form at http://localhost:3000. Submitted form data is saved under ``./{form-name}/formData.csv```