question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

clarify names of `add` and `delete` subcommands

See original GitHub issue

Add/remove sounds more natural than add/delete, but I’m not sure if it is just to me. If I’m not the only one, I guess having remove to alias internally to delete would be helpful

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
leifwicklandcommented, Jan 11, 2019

I agree that remove is the natural complement to add, analogous to create/delete. “Add” and “remove” suggest membership.

However, reading the docs, it appears that perhaps you don’t want membership.

[add] may be used to create new projects and modules respectively.

I’m tempted to offer a third opinion and say that it is add which should be changed to create and that delete is just fine. 😃

(Am I doing bikeshedding right?)

3reactions
ianpcommented, Jan 11, 2019

remove makes more sense to me, although personally I’d go with summon and banish 😈

Read more comments on GitHub >

github_iconTop Results From Across the Web

clarify names of `add` and `delete` subcommands · Issue #55 ...
I'm against having multiple alternative names for the same command (even if one is hidden), but I'm not against changing delete to remove...
Read more >
Using ACCOUNT Subcommands - IBM
You can use the ADD, CHANGE, and DELETE subcommands to maintain either entire entries or parts of entries. When you are maintaining entire...
Read more >
Discord.js v14 - Subcommands & Subcommand Groups
Join my Discord for more help: https://discord.gg/Gd5fAEJDQDCode: https://github.com/stuyy/djs-v14-tutorialSupport the Channel:Become a ...
Read more >
Role slash command with subcommands add/remove not ...
I made a slash command with subcommands to add or remove roles from a member, for now my code gives the error "Cannot...
Read more >
CLI commands with google/subcommands - OSInet
5 example above, where the help command mentions that top-level flags exist, but does not list any. When we add this statement, however,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found