]> git.proxmox.com Git - pve-manager.git/blame - PVE/CLI/pvesubscription.pm
Update vzdump man page for 4.0 (LXC containers , KVM live backup)
[pve-manager.git] / PVE / CLI / pvesubscription.pm
CommitLineData
8002175e
DM
1package PVE::CLI::pvesubscription;
2
3use strict;
4use warnings;
5
6use PVE::Tools;
7use PVE::SafeSyslog;
8use PVE::INotify;
9use PVE::RPCEnvironment;
10use PVE::CLIHandler;
11use PVE::API2::Subscription;
12
13use base qw(PVE::CLIHandler);
14
15my $nodename = PVE::INotify::nodename();
16
17our $cmddef = {
18 update => [ 'PVE::API2::Subscription', 'update', undef, { node => $nodename } ],
19 get => [ 'PVE::API2::Subscription', 'get', undef, { node => $nodename },
20 sub {
21 my $info = shift;
22 foreach my $k (sort keys %$info) {
23 print "$k: $info->{$k}\n";
24 }
25 }],
26 set => [ 'PVE::API2::Subscription', 'set', ['key'], { node => $nodename } ],
27};
28
291;
30
31__END__
32
33=head1 NAME
34
35pvesubscription - Proxmox VE subscription mamager
36
37=head1 SYNOPSIS
38
39=include synopsis
40
41=head1 DESCRIPTION
42
43This tool is used to handle pve subscriptions.
44
45=include pve_copyright