OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.verbs.verbs; | 5 library fletchc.verbs.verbs; |
6 | 6 |
7 import 'infrastructure.dart' show | 7 import 'infrastructure.dart' show |
8 AnalyzedSentence, | 8 AnalyzedSentence, |
9 Future, | 9 Future, |
10 TargetKind, | 10 TargetKind, |
11 VerbContext; | 11 VerbContext; |
12 | 12 |
13 import 'attach_verb.dart' show | 13 import 'attach_verb.dart' show |
14 attachAction; | 14 attachAction; |
15 | 15 |
16 import 'compile_verb.dart' show | 16 import 'compile_verb.dart' show |
17 compileAction; | 17 compileAction; |
18 | 18 |
19 import 'create_verb.dart' show | 19 import 'create_verb.dart' show |
20 createAction; | 20 createAction; |
21 | 21 |
22 import 'debug_verb.dart' show | 22 import 'debug_verb.dart' show |
23 debugAction; | 23 debugAction; |
24 | 24 |
| 25 import 'x_discover_verb.dart' show |
| 26 discoverAction; |
| 27 |
25 import 'export_verb.dart' show | 28 import 'export_verb.dart' show |
26 exportAction; | 29 exportAction; |
27 | 30 |
28 import 'help_verb.dart' show | 31 import 'help_verb.dart' show |
29 helpAction; | 32 helpAction; |
30 | 33 |
31 import 'run_verb.dart' show | 34 import 'run_verb.dart' show |
32 runAction; | 35 runAction; |
33 | 36 |
34 import 'shutdown_verb.dart' show | 37 import 'shutdown_verb.dart' show |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 "export": exportAction, | 113 "export": exportAction, |
111 }; | 114 }; |
112 | 115 |
113 /// Uncommon verbs aren't displayed in the normal help screen. | 116 /// Uncommon verbs aren't displayed in the normal help screen. |
114 /// | 117 /// |
115 /// These verbs are displayed when running `fletch help all`. | 118 /// These verbs are displayed when running `fletch help all`. |
116 const Map<String, Action> uncommonActions = const <String, Action>{ | 119 const Map<String, Action> uncommonActions = const <String, Action>{ |
117 "compile": compileAction, | 120 "compile": compileAction, |
118 "create": createAction, | 121 "create": createAction, |
119 "debug": debugAction, | 122 "debug": debugAction, |
| 123 "x-discover": discoverAction, |
120 "shutdown": shutdownAction, | 124 "shutdown": shutdownAction, |
121 "x-end": endAction, | 125 "x-end": endAction, |
122 "x-servicec": servicecAction, | 126 "x-servicec": servicecAction, |
123 "x-upgrade": upgradeAction, | 127 "x-upgrade": upgradeAction, |
124 "quit": quitAction, | 128 "quit": quitAction, |
125 "show": showAction, | 129 "show": showAction, |
126 }; | 130 }; |
OLD | NEW |