Created
November 24, 2020 10:47
-
-
Save Josh4324/3383737722dc3f92cf5f632388ec908d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yargs.command({ | |
command: "delete", | |
describe: " Remove a specific todo with the title", | |
builder: { | |
title: { | |
describe: "Todo title", | |
type: "string", | |
demandOption: true, | |
} | |
}, | |
handler: function (argv) { | |
utils.deleteTodo(argv.title); | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment