mirror of https://github.com/IoTcat/todo-ddl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
332 B
16 lines
332 B
module.exports = (yargs) => { |
|
|
|
const colors = require('colors'); |
|
const boxen = require('boxen'); |
|
|
|
yargs = yargs |
|
.command('init', "td init".green + " Clear All Data..", yargs => yargs, argv => { |
|
data.td([]); |
|
data.ddl([]); |
|
data.log('null'); |
|
}) |
|
|
|
var data = require(__dirname + '/../utilities/data.js')(); |
|
|
|
return yargs; |
|
}
|
|
|