|
|
Subscribe / Log in / New account

Program names and "pollution"

Program names and "pollution"

Posted Apr 4, 2019 13:29 UTC (Thu) by simosx (guest, #24338)
Parent article: Program names and "pollution"

It is really poor CLI usability to create such generic commands.
The Postgress community should act and fix this issue without the need to be told to.

In terms of usability, they use should have a single entry command like "pg" (from PostGress).
The user would need to run "pg" to get a helpful reminder screen with the available subcommands.
If the user wants to perform cluster tasks, they would run "pg cluster" and get the list of "cluster" subcommands.
Like, "pg cluster create", "pg cluster ls", etc.

As it is now, you need to remember "pg_lsclusters", which is wrong in many ways. It is the wrong order of words. "cluster" is plural because otherwise the command would look silly.

In addition, Postgress can provide shell completion (bash-completion) rules to help users with the commands.

It is up to Postgress to plan for a transition and make the CLI commands somewhat better.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds