We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd69dcc commit 1efaecfCopy full SHA for 1efaecf
bin/instabug.dart
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env dart
2
+
3
+import 'package:args/args.dart';
4
5
+void main(List<String> args) {
6
+ final parser = ArgParser()..addFlag('help', abbr: 'h');
7
+ final result = parser.parse(args);
8
+ if (result['help'] as bool) {
9
+ print('Usage: instabug [options]');
10
+ print(parser.usage);
11
+ return;
12
+ }
13
+ // …call into your SDK’s API…
14
+}
pubspec.yaml
@@ -37,3 +37,6 @@ flutter:
37
environment:
38
sdk: ">=2.14.0 <4.0.0"
39
flutter: ">=1.17.0"
40
41
+executables:
42
+ instabug: instabug
0 commit comments