UNPKG

import-conductor

Version:

Automatically organize your Typescript import statements

89 lines 2.13 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sections = exports.optionDefinitions = void 0; exports.optionDefinitions = [ { name: 'verbose', alias: 'v', type: Boolean, description: 'Run with detailed log output', }, { name: 'separator', type: String, description: 'Separator between import groups', }, { name: 'source', alias: 's', type: String, multiple: true, defaultOption: true, description: 'Path to the source files', }, { name: 'userLibPrefixes', alias: 'p', type: String, multiple: true, description: 'The prefix of custom user libraries', }, { name: 'groupOrder', alias: 'g', type: String, multiple: true, description: 'The group order it should follow', }, { name: 'staged', type: Boolean, description: 'Run against staged files', }, { name: 'autoAdd', alias: 'a', type: Boolean, description: 'Automatically add the committed files when the staged option is used', }, { name: 'noAutoMerge', type: Boolean, description: `Disable automatically merge 2 import statements from the same source`, }, { name: 'ignore', alias: 'i', type: String, multiple: true, description: `Files to ignore`, }, { name: 'dryRun', alias: 'd', type: Boolean, description: 'Run in dry run mode', }, { name: 'help', alias: 'h', type: Boolean, description: 'Help me, please!', }, { name: 'version', type: Boolean, description: 'Get the import-conductor version', }, ]; exports.sections = [ { header: 'Import conductor', content: 'Automatically organize your imports.', }, { header: 'Options', optionList: exports.optionDefinitions, }, ]; //# sourceMappingURL=cliOptions.js.map