very_good_cli
very_good_cli copied to clipboard
fix: `very_good packages get -r` silently quits if there is no `flutter` executable available
Description Hello!
When using very_good packages get -r on CI without Flutter being installed, the command silently quits without installing the dependencies. This behaviour is kinda misleading and a warning of some sort would be great to have.
For example,
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Beta Dart
uses: dart-lang/setup-dart@v1
with:
sdk: beta
- name: Install Very Good CLI
run: |
dart pub global activate very_good_cli
dart pub global run very_good_cli:very_good --analytics=false
- name: Install dependencies
run: dart pub global run very_good_cli:very_good packages get -r
The output looks like:
Steps To Reproduce
- Create a github workflow with the steps above
- Run it