Skip to content

Commit bae4f94

Browse files
committed
fixed docblock
1 parent dc84e3e commit bae4f94

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/cli.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ cli.save = (newFilePath, data, cb) => {
2929

3030
/**
3131
* @typedef {Object} processOptions
32-
* @property {[type]} [propName] [description]
32+
* @property {Boolean} [collectSelectors=false] git dif the triggered files are css files
33+
* @property {Boolean} [overwrite=false] overwrite the same file
34+
* @property {String} [cwd=process.cwd()] the current working directory in which to search
35+
* @property {String} [newPath='rcs'] in which folder the new files should go
36+
* @property {Boolean} [flatten=false] flatten the hierarchy - no subfolders
3337
*/
3438
/**
3539
* process over all files - set and replace
@@ -43,11 +47,13 @@ cli.process = (pathString, options, cb) => {
4347
const optionsDefault = {
4448
collectSelectors: false,
4549
overwrite: false,
46-
cwd: '',
50+
cwd: process.cwd(),
4751
newPath: 'rcs',
4852
flatten: false
4953
};
5054

55+
// @todo add flatten files
56+
5157
// set cb if options are not set
5258
if (typeof cb !== 'function') {
5359
cb = options;

0 commit comments

Comments
 (0)