COMMAND-LINE-TOOL v(2.0.0)

Major upgrade for the previous command line tool v-1.0.0 πŸ‘¨β€πŸ”§

WHAT THIS “C-L-I” DOESπŸ§’πŸ₯πŸ™‚

     1) We can add various task which are needed to be done using "add"           

     2) After completing that task we can mark it as DONE using "done"             

     3) You can List whatever Task that are left to be done using "ls"             

     4) You can see the Report of Work which are LEFT or COMPLETED using "report"  

     5)In case if u forgot an command u can use "help" command using "help"        

BASIC INTERFACEπŸ§‘β€

interface

πŸ€™STEPS TO RUN ON UR TERMINAL

1) INSTALL “Node Js” ON UR TERMINAL

2) INSTALL “VS code” AND SOME “JavaScript extensions”

        * Prettier
        * JavaScript (ES6) Code Snippets
        * Node.js Modules Intellisense
        * Bracket pair colorizer

2) Create a new project folder

        * mkdir command   (folder created )
        * cd command      ( directory changed)
        * touch index.js  (our file where we'll code)

3) Execute The following commands to create a JSON FILE

         * npm init -y

4) Copy the provided code into your index.js file from my index.js file

        # NOTE : provide the shebang line in order to execute bash/script commands
        
          * ! /usr/bin/env node  

5) We will be writing todo Tasks in a file called “todo.txt” and when they will be completed they will be erased from “todo.txt” and will be written in “done.txt” .

6) Install various dependencies for this C-L-I

        * npm install colors
        * npm i --save-dev nodemon
        * npm i log-update

7) After writing the code simply run the file using

        * node index.js

NOTE 😬 πŸ₯Ά


DEMO OF THE PROJECT COMMAND-LINE-TOOL V-2.0.0

CommandLine-2022-04-11_12.53.08.mp4

SCREEN SHOTS:-

ON TERMINAL

terminal ss

ON VS CODE TERMINAL

interface

task add

task 2

report

task 3

del 1

GitHub

View Github