Skip to content

A command line program which prompts a user form and accepts user input and save it to JSON file. The form fields are shown in sequence only after a valid input is provided for the previous field and error is shown if an invalid input is entered.

Notifications You must be signed in to change notification settings

jkobjacob/dynamic-form-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamic-form-cli

A command line program that reads JSON encoded form data and prompts each fields, accepts and validates user inputs based on the type of the field, conditionally prompt certain field, based on whether another field is of a particular value.

Running the application

To install the dependencies,

    npm install

To run the application,

    npm start

To run the test suites,

    npm test

About

A command line program which prompts a user form and accepts user input and save it to JSON file. The form fields are shown in sequence only after a valid input is provided for the previous field and error is shown if an invalid input is entered.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published