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