Skip to content

nvpmai/nodejs_command_lines

Repository files navigation

CLI Utilities

This is a CLI Utilities library for Node.js.

Time spent: 15 hours

Features

Required

  • Completed Requireds marked with [x]
  • Walkthrough Gif embedded in README
  • README Time spent: includes the number of hours spent on the assignment
  • echo.js prints the first argument to stdout
  • cat.js prints the contents of the first argument to stdout
  • touch.js updates the modified date of the first argument
  • ls.js recursively lists the files of the first argument
  • mkdir.js create a directory at the first argument
  • rm.js deletes any file or directory at the first argument

Optionals

  • ln.js creates a symlink from the second argument to the first argument
  • grep.js prints lines matching the first argument in the files matching the second argument
  • grep.js supports a regex as the second arguments

Walkthrough Gif:

./echo.js 'hi there'
./cat.js touch.js
./touch.js hi.txt
./ls.js ./
.ls.js ./ -R

echo_cat_touch_ls

./mkdir.js f1/f2/f3
./rm.js hi.txt
./ln.js echo.js echo_clone.js
./grep.js console \.js

echo_cat_touch_ls

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published