File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed
packages/core/src/decorators Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
- <a name =" 1.0.0 " ></a >
2
- # [ 1.0.0] ( https://github.com/orbital-js/orbital/compare/v1.0.0-alpha.28...v1.0.0 ) (2018-06-27)
3
-
4
-
5
-
6
1
<a name =" 1.0.0-alpha.28 " ></a >
7
2
# [ 1.0.0-alpha.28] ( https://github.com/orbital-js/orbital/compare/v1.0.0-alpha.27...v1.0.0-alpha.28 ) (2018-06-27)
8
3
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " orbital" ,
3
- "version" : " 1.0.0" ,
3
+ "version" : " 1.0.0-alpha.28 " ,
4
4
"description" : " Typescript CLI framework for node" ,
5
5
"scripts" : {
6
6
"start" : " tsc" ,
Original file line number Diff line number Diff line change @@ -4,9 +4,22 @@ import { setClassMetadata } from '../reflection/class';
4
4
* Configuration for the `CLI` decorator.
5
5
*/
6
6
export interface CLIMetadata {
7
+
8
+ /**
9
+ * The `bin` name of the command, as it will be invoked by the user.
10
+ */
7
11
name ?: string ;
12
+
13
+ /**
14
+ * A cleaner, properly capitalized version of your CLI.
15
+ */
8
16
prettyName ?: string ;
17
+
18
+ /**
19
+ * The current version of your CLI package, as seen in package.json.
20
+ */
9
21
version ?: string ;
22
+
10
23
/**
11
24
* import your commands and subcommand groups
12
25
*/
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { getType } from '../reflection/types';
7
7
export interface OptionMetadata {
8
8
name ?: string ;
9
9
aliases ?: string [ ] ;
10
- brief ?: string ;
11
10
description ?: string ;
12
11
}
13
12
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { getParamNames } from '../util/param-name';
7
7
*/
8
8
export interface ParamMetadata {
9
9
name ?: string ;
10
- brief ?: string ;
11
10
required ?: boolean ;
12
11
description ?: string ;
13
12
}
You can’t perform that action at this time.
0 commit comments