Skip to content

Commit a4a4f14

Browse files
committed
Remove required decorator from input argument and bump version to 0.16.1
1 parent 97831f0 commit a4a4f14

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ interface ParseOptions {
245245
@parse(Deno.args, { name: "process", description: "Process files" })
246246
class Processor {
247247
@argument({ description: "Input file" })
248-
@required()
249248
@type("string")
250249
static input: string;
251250

@@ -323,16 +322,16 @@ class Config {
323322
class 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
332331
class 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

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sigma/parse",
3-
"version": "0.16.0",
3+
"version": "0.16.1",
44
"exports": "./src/index.ts",
55
"license": "MIT"
66
}

0 commit comments

Comments
 (0)