Skip to content

Commit 03b6239

Browse files
authored
Merge pull request #730 from andrew-scott-fischer/remove-unused-flags
fix: remove unused cli flags
2 parents aa37b22 + 5a8a659 commit 03b6239

File tree

1 file changed

+1
-24
lines changed
  • packages/openapi-generator/src

1 file changed

+1
-24
lines changed

packages/openapi-generator/src/cli.ts

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
#!/usr/bin/env node
22

3-
import {
4-
command,
5-
run,
6-
option,
7-
string,
8-
optional,
9-
flag,
10-
boolean,
11-
positional,
12-
} from 'cmd-ts';
3+
import { command, run, option, string, optional, positional } from 'cmd-ts';
134
import * as E from 'fp-ts/Either';
145
import * as fs from 'fs';
156
import * as p from 'path';
@@ -53,20 +44,6 @@ const app = command({
5344
long: 'description',
5445
short: 'd',
5546
}),
56-
includeInternal: flag({
57-
type: boolean,
58-
description: 'include routes marked private',
59-
long: 'internal',
60-
short: 'i',
61-
defaultValue: () => false,
62-
}),
63-
includeUnstable: flag({
64-
type: boolean,
65-
description: 'include routes marked unstable',
66-
long: 'unstable',
67-
short: 'u',
68-
defaultValue: () => false,
69-
}),
7047
codecFile: option({
7148
type: optional(string),
7249
description: 'Custom codec definition file',

0 commit comments

Comments
 (0)