Topic on Talk:Requests for comment/Proper command-line runner for maintenance tasks

Nikerabbit (talkcontribs)

Many command line tools have structured commands into two levels (npm access [grant|revoke] to give one example). I wonder if we should follow that to avoid a long flat list of commands.

That might of course lead to difficult questions how to determine the top level commands, but it could absorb the admin/developer split as well.

Legoktm (talkcontribs)

I was recently reading that until very recently, golang has avoided having any subcommands (c.f. https://go-review.googlesource.com/c/go/+/126655). I haven't yet decided on whether I agree with that idea or not.

Ideally I imagined that normal users would not even care that a sysadmin/developer split happened, because they never need to use the developer scripts.

Reply to "Subcommands"