Commit Graph

8 Commits

Author SHA1 Message Date
Dominik Csapak
b34d76e726 replace read_password with param_mapping
use the get_standar_mapping 'pve-password'
then we can get rid of the Term::ReadLine dependency

we use this change to only ask for the password once on
'pveum ticket'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-06-27 13:27:22 +02:00
Dominik Csapak
765305e210 fix typo in change_passsword
s/passsword/password/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-12 15:07:27 +02:00
Philip Abernethy
1e41cdc903 pveum: introduce sub-commands
use a sub-command structure instead of abbreviated words, where useful.
Keep old commands as aliases.

Signed-off-by: Philip Abernethy <p.abernethy@proxmox.com>
Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-05 15:02:09 +02:00
Dietmar Maurer
e623414a30 PVE/CLI/pveum.pm: call setup_default_cli_env() 2017-05-02 10:39:22 +02:00
Dietmar Maurer
175d238cc9 remove unused inline docs 2016-04-08 07:08:23 +02:00
Dietmar Maurer
085f3e07e1 improve manual page 2015-10-02 10:59:40 +02:00
Dietmar Maurer
98007830ee make read_password a CLIHandler class method
And use new run_cli_handler() method.
2015-10-02 10:45:58 +02:00
Dietmar Maurer
09281ad744 convert pveum into a PVE::CLI class 2015-10-01 16:49:37 +02:00