Add -t as a shortcut for --type

`versa run -t sculpin`
This commit is contained in:
Oliver Davies 2024-02-19 12:24:26 +00:00
parent bd90f9045a
commit 49721132da
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## Unrelased
- Add `-t` as a shortcut for `--type`.
## 0.1.0
- Add `install` for all projects based on the assumption it's a PHP project.

1
versa
View file

@ -18,6 +18,7 @@ $application->addArgument(
$application->addOption(
name: 'type',
shortcut: 't',
mode: InputArgument::OPTIONAL,
description: 'The project type',
suggestedValues: ['drupal', 'sculpin'],