Skip to content

Commit 0c17616

Browse files
committed
feat(cli): list eject command in help output
1 parent 24f1bee commit 0c17616

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/cli/src/commands/eject/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ interface PackageJson {
1818
}
1919

2020
const TUTORIALKIT_VERSION = pkg.version;
21+
2122
const REQUIRED_DEPENDENCIES = [
2223
'@tutorialkit/runtime',
2324
'@webcontainer/api',
@@ -141,6 +142,8 @@ async function _eject(flags: EjectOptions) {
141142
}
142143
}
143144
}
145+
146+
return 0;
144147
}
145148

146149
function validateDestination(folder: string, force: boolean) {

packages/cli/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ async function runCommand(cmd: CLICommand, flags: yargs.Arguments): Promise<numb
4444
tables: {
4545
Commands: [
4646
['create', 'Create new tutorial app'],
47+
['eject', 'Eject routes'],
4748
['help', 'Show this help message'],
4849
],
4950
},

0 commit comments

Comments
 (0)