Added formatting

pull/578/head
DCodeAus 3 years ago
parent f735f946d0
commit 38d3f77ceb

@ -4,13 +4,19 @@
- "What is the purpose of this application?"
Ideal for a beginner to get used to importing packages and working with the command line and receiving inputs, receiving one line at a time through a basic question and answer before formatting the output and displaying a result to the user. Like Hello World but taking multiple inputs with the ability to format and write to a file.
The purpose of the application is to take 4 user inputs in this case for a Ticket System, to be run offline if needed such as on site for jobs without internet access.
- Date Received, Ticket Description, Zone and Ticket Number.
- Date Received,
- Ticket Description,
- Zone and
- Ticket Number.
This is then written to a text file in a JSON output to be further processed by another system or reference to load into a statistics front end site.
This is done through two imported packages to get the user used to importing packages through the console.
First package:
-Inquirer - a package to process user inputs from the command line, question and response.
-Yargs - Receives a user input through an interactive user interface and then relays this through the console output for the user to view.
@ -44,7 +50,4 @@ And will need to install yargs: npm install --save yargs
## Example projects
- [YARGS Project](https://github.com/DCodeAus/YargsProject/)
- [BHMBS - JS-Neumorphic-Calculator](https://barhouum7.github.io/JS-Neumorphic-Calc.github.io/)
- [YARGS Project](https://github.com/DCodeAus/YargsProject/)
Loading…
Cancel
Save