Skip to content

Commit 1396782

Browse files
committed
update README.md
1 parent a7309e6 commit 1396782

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ import cloneSparse from '@ayan4m1/git-clone-sparse';
3333

3434
...
3535

36-
// todo: handle program.opts() call
3736
await cloneSparse(
3837
'./new-repo-dir', // working copy directory
3938
'https://github.com/ayan4m1/git-clone-sparse' // repo URL
40-
['./README.md'] // paths to include
39+
['./README.md'] // paths to include,
40+
{
41+
globs: false,
42+
force: false
43+
} // optional options object
4144
);
4245
```

0 commit comments

Comments
 (0)