This repository was archived by the owner on Sep 12, 2019. It is now read-only.
File tree 3 files changed +23
-6
lines changed
3 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -312,9 +312,17 @@ DevCommand.examples = [
312
312
DevCommand . strict = false ;
313
313
314
314
DevCommand . flags = {
315
- command : flags . string ( { char : "c" , description : "command to run" } ) ,
316
- port : flags . integer ( { char : "p" , description : "port of netlify dev" } ) ,
317
- dir : flags . integer ( { char : "d" , description : "dir with static files" } ) ,
315
+ command : flags . string ( {
316
+ char : "c" ,
317
+ description : "command to run"
318
+ } ) ,
319
+ port : flags . integer ( {
320
+ char : "p" ,
321
+ description : "port of netlify dev" } ) ,
322
+ dir : flags . string ( {
323
+ char : "d" ,
324
+ description : "dir with static files"
325
+ } ) ,
318
326
functions : flags . string ( {
319
327
char : "f" ,
320
328
description : "Specify a functions folder to serve"
@@ -323,7 +331,10 @@ DevCommand.flags = {
323
331
char : "o" ,
324
332
description : "disables any features that require network access"
325
333
} ) ,
326
- live : flags . boolean ( { char : "l" , description : "Start a public live session" } )
334
+ live : flags . boolean ( {
335
+ char : "l" ,
336
+ description : "Start a public live session"
337
+ } )
327
338
} ;
328
339
329
340
module . exports = DevCommand ;
Original file line number Diff line number Diff line change @@ -231,7 +231,10 @@ FunctionsInvokeCommand.args = [
231
231
] ;
232
232
233
233
FunctionsInvokeCommand . flags = {
234
- name : flags . string ( { char : "n" , description : "function name to invoke" } ) ,
234
+ name : flags . string ( {
235
+ char : "n" ,
236
+ description : "function name to invoke"
237
+ } ) ,
235
238
functions : flags . string ( {
236
239
char : "f" ,
237
240
description : "Specify a functions folder to parse, overriding netlify.toml"
Original file line number Diff line number Diff line change @@ -88,7 +88,10 @@ NOT the same as listing the functions that have been deployed. For that info you
88
88
` ;
89
89
FunctionsListCommand . aliases = [ "function:list" ] ;
90
90
FunctionsListCommand . flags = {
91
- name : flags . string ( { char : "n" , description : "name to print" } ) ,
91
+ name : flags . string ( {
92
+ char : "n" ,
93
+ description : "name to print"
94
+ } ) ,
92
95
functions : flags . string ( {
93
96
char : "f" ,
94
97
description : "Specify a functions folder to serve"
You can’t perform that action at this time.
0 commit comments