Skip to content

Commit 12ddda7

Browse files
Jasper De Moordevongovett
authored andcommitted
add cache-dir option to cli (#1321)
1 parent 7f4049d commit 12ddda7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/cli.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ program
5757
'set the log level, either "0" (no output), "1" (errors), "2" (warnings + errors) or "3" (all).',
5858
/^([0-3])$/
5959
)
60+
.option('--cache-dir <path>', 'set the cache directory. defaults to ".cache"')
6061
.action(bundle);
6162

6263
program
@@ -101,6 +102,7 @@ program
101102
'set the log level, either "0" (no output), "1" (errors), "2" (warnings + errors) or "3" (all).',
102103
/^([0-3])$/
103104
)
105+
.option('--cache-dir <path>', 'set the cache directory. defaults to ".cache"')
104106
.action(bundle);
105107

106108
program
@@ -140,6 +142,7 @@ program
140142
'set the log level, either "0" (no output), "1" (errors), "2" (warnings + errors) or "3" (all).',
141143
/^([0-3])$/
142144
)
145+
.option('--cache-dir <path>', 'set the cache directory. defaults to ".cache"')
143146
.action(bundle);
144147

145148
program

0 commit comments

Comments
 (0)