Skip to content

Commit

Permalink
chore: deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Jun 26, 2023
1 parent a9a8723 commit 83cc495
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,10 @@ let validCommands = program.commands.map((cmd) => {
});

if (validCommands.length && process.argv[2]) {
shell.echo(
`Global cli is deprecated. Please use "npx dooboo" instead and remove global dooboo-cli package from your local computer.`,
);

switch (process.argv[2]) {
case 'init':
case 'start':
Expand Down

0 comments on commit 83cc495

Please sign in to comment.