trailsjs/generator-trailpack

View on GitHub
src/app/options/index.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Exports object that contains names of options as a key and their configuration objects as a value
 *
 * @example
 * export default {
 *   optionName: {
 *     desc: 'Description for the option',
 *     alias: 'Short name for the option',
 *     type: Boolean || String || Number,
 *     defaults: 'Default value',
 *     hide: false
 *   }
 * };
 */

export default {
  'skip-update': {
    desc: `Do not check for generator\'s updates`,
    type: Boolean,
    defaults: false,
    hide: false
  }
};