Skip to content

Commit c6fed7e

Browse files
committed
fix(qui-cli): actually export register0
1 parent 4ffb4e2 commit c6fed7e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/qui-cli/src/cli.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Core, Options as CoreOptions } from '@battis/qui-cli.core';
33
import { Env, Options as EnvOptions } from '@battis/qui-cli.env';
44
import { Log, Options as LogOptions } from '@battis/qui-cli.log';
55
import * as plugin from '@battis/qui-cli.plugin';
6-
import * as Plugin from '@battis/qui-cli.plugin';
76
import progress from '@battis/qui-cli.progress';
87
import { Root } from '@battis/qui-cli.root';
98
import { Shell, Options as ShellOptions } from '@battis/qui-cli.shell';
@@ -44,8 +43,6 @@ function init({ env, args, log, shell }: Options = {}) {
4443
return core.init(args) as Arguments<typeof options>;
4544
}
4645

47-
export const register = core.register;
48-
4946
const defaults = {
5047
env: Env.defaults,
5148
args: Core.defaults,
@@ -81,6 +78,8 @@ export const cli = {
8178
}
8279
},
8380

81+
register: core.register.bind(core),
82+
8483
progress,
8584

8685
/** @deprecated use @inquirer/prompts directly */

0 commit comments

Comments
 (0)