-
Notifications
You must be signed in to change notification settings - Fork 618
/
Copy pathindex.ts
68 lines (59 loc) · 2.63 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* An object-oriented command-line parser for TypeScript projects.
*
* @packageDocumentation
*/
export { CommandLineAction, type ICommandLineActionOptions } from './providers/CommandLineAction';
export { DynamicCommandLineAction } from './providers/DynamicCommandLineAction';
export { ScopedCommandLineAction } from './providers/ScopedCommandLineAction';
export {
AliasCommandLineAction,
type IAliasCommandLineActionOptions
} from './providers/AliasCommandLineAction';
export type {
IBaseCommandLineDefinition,
IBaseCommandLineDefinitionWithArgument,
ICommandLineFlagDefinition,
ICommandLineStringDefinition,
ICommandLineStringListDefinition,
ICommandLineIntegerDefinition,
ICommandLineIntegerListDefinition,
ICommandLineChoiceDefinition,
ICommandLineChoiceListDefinition,
ICommandLineRemainderDefinition
} from './parameters/CommandLineDefinition';
export {
CommandLineParameterKind,
// TODO: Export both `CommandLineParameter` and `CommandLineParameterBase` in the next major bump
CommandLineParameterBase as CommandLineParameter,
CommandLineParameterWithArgument
} from './parameters/BaseClasses';
export { CommandLineFlagParameter } from './parameters/CommandLineFlagParameter';
export {
CommandLineStringParameter,
type IRequiredCommandLineStringParameter
} from './parameters/CommandLineStringParameter';
export { CommandLineStringListParameter } from './parameters/CommandLineStringListParameter';
export {
CommandLineIntegerParameter,
type IRequiredCommandLineIntegerParameter
} from './parameters/CommandLineIntegerParameter';
export { CommandLineIntegerListParameter } from './parameters/CommandLineIntegerListParameter';
export {
CommandLineChoiceParameter,
type IRequiredCommandLineChoiceParameter
} from './parameters/CommandLineChoiceParameter';
export { CommandLineChoiceListParameter } from './parameters/CommandLineChoiceListParameter';
export { CommandLineRemainder } from './parameters/CommandLineRemainder';
export {
CommandLineParameterProvider,
type IScopedLongNameParseResult,
type ICommandLineParserData as _ICommandLineParserData,
type IRegisterDefinedParametersState as _IRegisterDefinedParametersState
} from './providers/CommandLineParameterProvider';
export { CommandLineParser, type ICommandLineParserOptions } from './providers/CommandLineParser';
export { DynamicCommandLineParser } from './providers/DynamicCommandLineParser';
export { CommandLineConstants } from './Constants';
export { CommandLineHelper } from './CommandLineHelper';