Created
November 24, 2020 10:33
-
-
Save Josh4324/8a974ba1438a22f7109fab7e500980f5 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: "read", | |
describe: "get a specific todo with the title", | |
builder: { | |
title: { | |
describe: "Todo title", | |
type: "string", | |
demandOption: true, | |
} | |
}, | |
handler: function (argv) { | |
utils.getOneTodo(argv.title); | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment