Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 1 addition & 24 deletions packages/openapi-generator/src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
#!/usr/bin/env node

import {
command,
run,
option,
string,
optional,
flag,
boolean,
positional,
} from 'cmd-ts';
import { command, run, option, string, optional, positional } from 'cmd-ts';
import * as E from 'fp-ts/Either';
import * as fs from 'fs';
import * as p from 'path';
Expand Down Expand Up @@ -53,20 +44,6 @@ const app = command({
long: 'description',
short: 'd',
}),
includeInternal: flag({
type: boolean,
description: 'include routes marked private',
long: 'internal',
short: 'i',
defaultValue: () => false,
}),
includeUnstable: flag({
type: boolean,
description: 'include routes marked unstable',
long: 'unstable',
short: 'u',
defaultValue: () => false,
}),
codecFile: option({
type: optional(string),
description: 'Custom codec definition file',
Expand Down