Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | 32x 32x 32x | import {ArgumentConfig, ParseOptions} from 'ts-command-line-args';
import {STRINGS} from './strings';
import {IFDiffArgs, IEArgs, IFEnvArgs} from '../types/process-args';
const {DISCLAIMER_MESSAGE} = STRINGS;
export const CONFIG = {
IE: {
ARGS: {
manifest: {
type: String,
optional: true,
alias: 'm',
description: '[path to the input file]',
},
output: {
type: String,
optional: true,
alias: 'o',
description: '[path to the output file]',
},
'override-params': {
type: String,
optional: true,
alias: 'p',
description: '[path to a parameter file that overrides our defaults]',
},
stdout: {
type: Boolean,
optional: true,
alias: 's',
description: '[prints out to the console]',
},
help: {
type: Boolean,
optional: true,
alias: 'h',
description: '[prints out the above help instruction]',
},
debug: {
type: Boolean,
optional: true,
alias: 'd',
description: '[prints out debug logs to the console]',
},
} as ArgumentConfig<IEArgs>,
HELP: {
helpArg: 'help',
headerContentSections: [
{header: 'Impact Framework', content: 'Helpful keywords:'},
],
footerContentSections: [
{header: 'Green Software Foundation', content: DISCLAIMER_MESSAGE},
],
} as ParseOptions<any>,
},
IF_DIFF: {
ARGS: {
source: {
type: String,
optional: true,
alias: 's',
description: '[path to the source file]',
},
target: {
type: String,
optional: false,
alias: 't',
description: '[path to the target file',
},
} as ArgumentConfig<IFDiffArgs>,
HELP: {
helpArg: 'help',
headerContentSections: [
{header: 'Impact Framework', content: 'IF-Diff Helpful keywords:'},
],
footerContentSections: [
{header: 'Green Software Foundation', content: DISCLAIMER_MESSAGE},
],
} as ParseOptions<any>,
SUCCESS_MESSAGE: 'Files match!',
FAILURE_MESSAGE: 'Files do not match!',
},
IF_ENV: {
ARGS: {
manifest: {
type: String,
optional: true,
alias: 'm',
description: '[path to the manifest file]',
},
install: {
type: Boolean,
optional: true,
alias: 'i',
description: '[command to install package.json]',
},
cwd: {
type: Boolean,
optional: true,
alias: 'c',
description:
'[command to generate the package.json in the command working directory]',
},
} as ArgumentConfig<IFEnvArgs>,
HELP: {
helpArg: 'help',
headerContentSections: [
{header: 'Impact Framework', content: 'IF-Env Helpful keywords:'},
],
footerContentSections: [
{header: 'Green Software Foundation', content: DISCLAIMER_MESSAGE},
],
} as ParseOptions<any>,
SUCCESS_MESSAGE: 'The environment is successfully setup!',
FAILURE_MESSAGE: 'Faied to create the environment!',
FAILURE_MESSAGE_TEMPLATE:
'Faied to create the environment with the template manifest!',
FAILURE_MESSAGE_DEPENDENCIES: 'Manifest dependencies are not available!',
},
GITHUB_PATH: 'https://github.com',
NATIVE_PLUGIN: 'if-plugins',
AGGREGATION_ADDITIONAL_PARAMS: ['timestamp', 'duration'],
};
|