-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Labels
bugSomething isn't working as expectedSomething isn't working as expected
Description
Description
An exception is thrown when I opted for no analytics
Steps To Reproduce
- Go to Terminal
- Enter very_good --analytics
- Getting the below exception
Missing argument for "analytics".
#0 CommandRunner.usageException (package:args/command_runner.dart:95:7)
#1 CommandRunner.parse (package:args/command_runner.dart:123:35)
#2 VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:63:27)
#3 main (file:///Users/xxxxxxxxxx/.pub-cache/hosted/pub.dartlang.org/very_good_cli-0.1.1/bin/very_good.dart:5:54)
#4 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Expected Behavior
In my opinion, instead of an exception message, a plain text saying "You have not opted for analytics. To enable it do xxx things"
Additional Context
I have just shared my opinion. If this is the expected message, please close this ticket.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as expectedSomething isn't working as expected
