ClusterLabs / crmsh

Command-line interface for High-Availability cluster management on GNU/Linux systems.
GNU General Public License v2.0
131 stars 94 forks source link

Personally I think without command alias is better #377

Closed liangxin1300 closed 1 year ago

liangxin1300 commented 6 years ago

Hi: Personally I suggest: Each command level just show necessary commands, it will be more simpler, clear and accurate without command alias

e.g.

  1. we have "up", "end" and "back", they are same, the mean in each of them is easy to guess, just leave one of them, that's enough
  2. colocation(collocation), get-property(get_property), the intention to set these alias I guess is to avoid input errors, I suggest just leave the most correct one. Input error is error, crmsh will give hints for that. We could not set more aliases to avoid all of input errors.

User want to use crmsh to configure cluster quickly, less commands completed, more quickly. If user get lost, we always have 'help' command

Regards, xin

liangxin1300 commented 6 years ago

How about adding 'alias' sub-command to let user define theirs alias or short-cut command and dropping all of alias in current ui?

liangxin1300 commented 6 years ago

We can also consider the compatibility if we really remove these alias sub-commands, we can support them, accept them by implicit