Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

The great tfa → 2fa rename #18845

Merged
merged 1 commit into from Oct 19, 2017
Merged

The great tfa → 2fa rename #18845

merged 1 commit into from Oct 19, 2017

Conversation

iarna
Copy link
Contributor

@iarna iarna commented Oct 14, 2017

Plus we rename token delete to token revoke.

@iarna iarna requested a review from a team as a code owner October 14, 2017 20:49
Copy link
Contributor

@zkat zkat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM but I'd rather not have this be a breaking change if we can help it?


token.completion = function (opts, cb) {
var argv = opts.conf.argv.remain

switch (argv[2]) {
case 'list':
case 'delete':
case 'revoke':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should accept both here. This would be a breaking change otherwise, and I think it's fine to have delete as an alias.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh oops, I didn't mean to ditch it entirely!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, this is tab completion. I'm ok with not tab completing delete.

@zkat zkat changed the base branch from latest to release-next October 19, 2017 01:33
@zkat zkat merged commit fea03d3 into release-next Oct 19, 2017
@zkat zkat deleted the tfa→2fa branch October 19, 2017 01:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants