]>
git.proxmox.com Git - pve-client.git/blob - PVE/APIClient/Commands/remote.pm
1 package PVE
::APIClient
::Commands
::remote
;
8 use base
qw(PVE::CLIHandler);
10 __PACKAGE__-
>register_method ({
14 description
=> "Add a remote to your config file.",
16 additionalProperties
=> 0,
19 description
=> "The name of the remote.",
23 description
=> "The host, either host, host:port or https://host:port",
27 description
=> "The username.",
33 returns
=> { type
=> 'null'},
41 __PACKAGE__-
>register_method ({
45 description
=> "Removes a remote from your config file.",
47 additionalProperties
=> 0,
50 description
=> "The name of the remote.",
55 returns
=> { type
=> 'null'},
64 add
=> [ __PACKAGE__
, 'add', ['name', 'host']],
65 remove
=> [ __PACKAGE__
, 'remove', ['name']],