Add initial JavaScript/TypeScript support
Add JS/TS support to `versa install`. Run `npm install`, `yarn` or `pnpm install` based on which files are present in the project.
This commit is contained in:
parent
72dea5070b
commit
c5248bb061
3 changed files with 53 additions and 1 deletions
|
@ -16,6 +16,14 @@ abstract class AbstractCommand extends Command
|
|||
description: 'Any additonal arguments to pass to the command.',
|
||||
);
|
||||
|
||||
$this->addOption(
|
||||
name: 'language',
|
||||
shortcut: 'l',
|
||||
mode: InputArgument::OPTIONAL,
|
||||
description: 'The project language',
|
||||
suggestedValues: ['php', 'javascript'],
|
||||
);
|
||||
|
||||
$this->addOption(
|
||||
name: 'type',
|
||||
shortcut: 't',
|
||||
|
|
Reference in a new issue