UNPKG

putout

Version:

🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json

15 lines (10 loc) 322 B
'use strict'; module.exports = () => { const bin = require('../../help.json'); const usage = 'Usage: putout [options] [path]'; const result = [usage, 'Options: ']; for (const name of Object.keys(bin)) { result.push(` ${name} ${bin[name]}`); } return result.join('\n'); };