Update the README.

master
Zed A. Shaw 2 years ago
parent 7feb43312f
commit fc043e972e
  1. 3
      03-replicate-ls/README.md
  2. 4
      03-replicate-ls/step1.js

@ -0,0 +1,3 @@
## Replicate `ls`
This starts you off with a simple command line parsing library and a globbing library to get going.

@ -3,6 +3,8 @@ import glob from "fast-glob";
import { program } from "commander";
program
.name("ls")
.description("ls replica")
.option("-l");
program.parse();
@ -10,8 +12,6 @@ program.parse();
const options = program.opts();
console.log(options);
if(program.args.length > 0) {
const results = glob.sync(program.args[0]);

Loading…
Cancel
Save