Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove --config option from CLI since it doesn't do anything #882

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
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
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
Loading