-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor sympa.pl #1286
Refactor sympa.pl #1286
Conversation
--add_list & --create_list => create --close_family, --close_list & --purge_list => close --copy_list & --rename_list => move --dump_users => dump --modify_list => update --open_list => open --restore_users => restore
Great idea! Makes it a lot easier to add new commands as well. 👍 |
@racke, I have anothor idea that |
Yes, please do so! I already doing that in the Debian package and in my Ansible role. |
--change_user_email => user move --health_check => check --instantiate_family => instantiate --sync_include => include
e8e7ae4
to
3fa3a86
Compare
Changes on command line (note that older form may still be usable). EDIT: See the table in #1303. |
Looks nice 👍 sympa move --copy listname@robot newlistname@newrobot This should be really |
Maybe you can post that new schema on the mailing list for more feedback? |
I think of two:
Eventually, I'd like to integrate the other command line tools into EDIT: Typos. |
Alias is an idea to solve the "move --copy" predicament. You could also add CLI::copy which inherits CLI::Move. Integration the other CLI tools is also a really good idea 👍 |
I'm not a friend of a prompt confirmation. If you want to do that, please add a configuration option to waive that confirmation without requiring -y. |
sympa.pl --add=list@dom ...
" to "sympa.pl add ... list@dom
" and so on.sympa.pl
was renamed tosympa
, and with a symlink, older name is still usable.See POD in
sympa.pl.in
andSympa/CLI/*.pm
about changes.