chore: generate
This commit is contained in:
parent
c416ede20d
commit
556337d6dd
@ -13,20 +13,13 @@ export const Commands = Spec.make(typeof OPENCODE_CLI_NAME === "string" ? OPENCO
|
|||||||
Argument.withDescription("OpenAPI operation ID, or an HTTP method followed by a path"),
|
Argument.withDescription("OpenAPI operation ID, or an HTTP method followed by a path"),
|
||||||
Argument.variadic({ min: 1, max: 2 }),
|
Argument.variadic({ min: 1, max: 2 }),
|
||||||
),
|
),
|
||||||
data: Flag.string("data").pipe(
|
data: Flag.string("data").pipe(Flag.withAlias("d"), Flag.withDescription("Request body"), Flag.optional),
|
||||||
Flag.withAlias("d"),
|
|
||||||
Flag.withDescription("Request body"),
|
|
||||||
Flag.optional,
|
|
||||||
),
|
|
||||||
header: Flag.string("header").pipe(
|
header: Flag.string("header").pipe(
|
||||||
Flag.withAlias("H"),
|
Flag.withAlias("H"),
|
||||||
Flag.withDescription("Request header in name:value form"),
|
Flag.withDescription("Request header in name:value form"),
|
||||||
Flag.atMost(100),
|
Flag.atMost(100),
|
||||||
),
|
),
|
||||||
param: Flag.keyValuePair("param").pipe(
|
param: Flag.keyValuePair("param").pipe(Flag.withDescription("OpenAPI path or query parameter"), Flag.optional),
|
||||||
Flag.withDescription("OpenAPI path or query parameter"),
|
|
||||||
Flag.optional,
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
Spec.make("debug", {
|
Spec.make("debug", {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user