array type
This commit is contained in:
21
lib/Option.ts
Normal file
21
lib/Option.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { TypeValidation } from './Types/TypeValidation';
|
||||
import { OptionType } from './OptionType';
|
||||
|
||||
interface Option {
|
||||
name: string;
|
||||
type: OptionType;
|
||||
required?: boolean;
|
||||
default?: unknown;
|
||||
alias?: string;
|
||||
env?: string;
|
||||
description?: string;
|
||||
message?: string;
|
||||
}
|
||||
|
||||
interface OptionProcess extends Option {
|
||||
filled: boolean;
|
||||
value?: unknown;
|
||||
type_validation: TypeValidation;
|
||||
}
|
||||
|
||||
export { Option, OptionProcess };
|
Reference in New Issue
Block a user