formations/javascript/base/exercices/linting/node_modules/jshint/node_modules/cli/examples/long_desc.js

21 lines
949 B
JavaScript
Executable File

#!/usr/bin/env node
var cli = require('../');
//You can (optionally) boost the width of output with:
//cli.width = 120;
//You can also adjust the width of the options/command definitions
//cli.option_width = 25;
var long_desc = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s '
+ 'standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make'
+ ' a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, '
+ 'remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing '
+ 'Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions'
+ ' of Lorem Ipsum.';
cli.parse({
foo: ['f', long_desc]
});