Skip to content

Commit

Permalink
chore: remove --config option from CLI since it doesn't do anything (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 authored Dec 8, 2023
1 parent 9d4a8ed commit 08b6c10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/schema/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function createProgram() {
`schema file (with extension ${schemaExtensions}). Defaults to "schema.zmodel" unless specified in package.json.`
);

const configOption = new Option('-c, --config [file]', 'config file');
const configOption = new Option('-c, --config [file]', 'config file').hideHelp();
const pmOption = new Option('-p, --package-manager <pm>', 'package manager to use').choices([
'npm',
'yarn',
Expand Down
1 change: 0 additions & 1 deletion tests/integration/tests/cli/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import * as fs from 'fs';
import * as tmp from 'tmp';
import { createProgram } from '../../../../packages/schema/src/cli';
import { CliError } from '../../../../packages/schema/src/cli/cli-error';

describe('CLI Config Tests', () => {
let origDir: string;
Expand Down

0 comments on commit 08b6c10

Please sign in to comment.