-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: convert installedapps:delete command to yargs #691
refactor: convert installedapps:delete command to yargs #691
Conversation
|
const command = 'installedapps:delete [id]' | ||
|
||
// TODO: should this be worded "uninstall an app"? | ||
const describe = 'delete an installed app' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO? either change the describe, or remove the todo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, fixed.
src/commands/installedapps/delete.ts
Outdated
apiCommandBuilder(yargs) | ||
.option('location', { | ||
alias: 'l', | ||
describe: 'if prompting for an installed apps, include only installed apps in the specified location(s)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit.. grammar?
'an installed apps'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, also fixed. Thanks for the notes!
f3de4e9
to
676c8cd
Compare
676c8cd
to
2f8e617
Compare
installedapps:delete
command to yargschoose
functions to support a custom prompt message (changes toutil-util.ts
)