UNPKG

279 BJavaScriptView Raw
1const chalk = require( 'chalk' );
2const dnsmasq = require( '../lib/dnsmasq' );
3
4/**
5 * The main command.
6 */
7async function doctor() {
8 console.log( 'Correcting any broken configs...' );
9
10 await dnsmasq.setup();
11
12 console.log( chalk`{green Done.}` );
13}
14
15module.exports = doctor;