(cli: any)
| 2 | import { heading } from './heading'; |
| 3 | |
| 4 | export default function debugMode(cli: any) { |
| 5 | p.intro( |
| 6 | heading({ |
| 7 | text: 'DEBUG MODE', |
| 8 | sub: 'logs will be verbose...', |
| 9 | dim: true |
| 10 | }) |
| 11 | ); |
| 12 | console.log(); |
| 13 | |
| 14 | p.intro( |
| 15 | heading({ |
| 16 | text: 'cwd', |
| 17 | dim: true |
| 18 | }) |
| 19 | ); |
| 20 | console.log(process.cwd()); |
| 21 | console.log(); |
| 22 | |
| 23 | p.intro( |
| 24 | heading({ |
| 25 | text: 'cli.flags', |
| 26 | dim: true |
| 27 | }) |
| 28 | ); |
| 29 | console.log(cli.flags); |
| 30 | console.log(); |
| 31 | |
| 32 | p.intro( |
| 33 | heading({ |
| 34 | text: 'cli.input', |
| 35 | sub: 'commands', |
| 36 | dim: true |
| 37 | }) |
| 38 | ); |
| 39 | console.log(cli.input); |
| 40 | console.log(); |
| 41 | } |