Hi,

A modification has been suggested for the Command line tools in an IRC
discussion with Abhilash.

It was suggested that, to make commands more intuitive, the commands be
partitioned into singular and plural as per the scale of the action
performed.

For example,

In the current scenario

  >>>./mmclient show user //Lists all users in the system

  >>> ./mmclient show user [email protected] //Describes the user [email protected]

Usage after the suggested change

  >>>./mmclient show users //Lists all users in the system

  >>>./mmclient show user [email protected] //Describes user [email protected]

The commands surely do become more intuitive and make more sense, but this
has a negative,the number of commands almost doubles.

Further, Use cases like delete, subscribe and unsubscribe support actions
on multiple users simultaneously.

Currently, the following commands are valid

  >>>./mmclient delete user [email protected] [email protected] [email protected]

  >>>./mmclient delete user [email protected]

If the suggested change is applied, the following commands must work

  >>>./mmclient delete users [email protected] [email protected] [email protected]

  >>>./mmclient delete user [email protected]

both of which perform the same action, using the same procedure.

Another option might be to use *only plurals*, which seems OK for most of
the use cases.
_______________________________________________
Mailman-Developers mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to