Skip to content

Commit

Permalink
fix: add config option
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-sainchuk committed Nov 8, 2023
1 parent 581b074 commit ecdf91a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/commands/push-bh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type PushBhOptions = {
files: string[];

domain?: string;
config?: string;
};

type FileToUpload = { path: string };
Expand Down
5 changes: 5 additions & 0 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@ yargs
alias: 'm',
},
domain: { description: 'Specify a domain.', alias: 'd', type: 'string' },
config: {
description: 'Path to the config file.',
requiresArg: true,
type: 'string',
},
}),
(argv) => {
process.env.REDOCLY_CLI_COMMAND = 'push-bh';
Expand Down

0 comments on commit ecdf91a

Please sign in to comment.