Skip to content

Commit 9b2a826

Browse files
committed
docs(): add jsdoc to decorators
1 parent 3cd1a30 commit 9b2a826

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
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-
61
<a name="1.0.0-alpha.28"></a>
72
# [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)
83

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "orbital",
3-
"version": "1.0.0",
3+
"version": "1.0.0-alpha.28",
44
"description": "Typescript CLI framework for node",
55
"scripts": {
66
"start": "tsc",

packages/core/src/decorators/cli.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,22 @@ import { setClassMetadata } from '../reflection/class';
44
* Configuration for the `CLI` decorator.
55
*/
66
export interface CLIMetadata {
7+
8+
/**
9+
* The `bin` name of the command, as it will be invoked by the user.
10+
*/
711
name?: string;
12+
13+
/**
14+
* A cleaner, properly capitalized version of your CLI.
15+
*/
816
prettyName?: string;
17+
18+
/**
19+
* The current version of your CLI package, as seen in package.json.
20+
*/
921
version?: string;
22+
1023
/**
1124
* import your commands and subcommand groups
1225
*/

packages/core/src/decorators/option.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { getType } from '../reflection/types';
77
export interface OptionMetadata {
88
name?: string;
99
aliases?: string[];
10-
brief?: string;
1110
description?: string;
1211
}
1312

packages/core/src/decorators/param.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { getParamNames } from '../util/param-name';
77
*/
88
export interface ParamMetadata {
99
name?: string;
10-
brief?: string;
1110
required?: boolean;
1211
description?: string;
1312
}

0 commit comments

Comments
 (0)