File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,7 +245,6 @@ interface ParseOptions {
245245@parse (Deno .args , { name: " process" , description: " Process files" })
246246class Processor {
247247 @argument ({ description: " Input file" })
248- @required ()
249248 @type (" string" )
250249 static input: string ;
251250
@@ -323,16 +322,16 @@ class Config {
323322class ServeCommand {
324323 @description (" Port to serve on" )
325324 static port: number = 3000 ;
326-
325+
327326 @description (" Enable watch mode" )
328327 static watch: boolean = false ;
329328}
330329
331- @command
330+ @command
332331class BuildCommand {
333332 @description (" Enable production mode" )
334333 static production: boolean = false ;
335-
334+
336335 @argument ({ description: " Output directory" })
337336 static output: string = " dist" ;
338337}
@@ -345,7 +344,7 @@ class MyApp {
345344 @subCommand (ServeCommand )
346345 static serve: ServeCommand ;
347346
348- @subCommand (BuildCommand )
347+ @subCommand (BuildCommand )
349348 static build: BuildCommand ;
350349}
351350
Original file line number Diff line number Diff line change 11{
22 "name" : " @sigma/parse" ,
3- "version" : " 0.16.0 " ,
3+ "version" : " 0.16.1 " ,
44 "exports" : " ./src/index.ts" ,
55 "license" : " MIT"
66}
You can’t perform that action at this time.
0 commit comments