Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
4f406f45
Commit
4f406f45
authored
Sep 10, 2015
by
Emmanuel Kasper
Committed by
Dietmar Maurer
Sep 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pvesh man page
parent
c197f23e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
1 deletion
+53
-1
Makefile
bin/Makefile
+7
-1
pvesh
bin/pvesh
+46
-0
No files found.
bin/Makefile
View file @
4f406f45
...
@@ -24,7 +24,9 @@ CLI_MANS = \
...
@@ -24,7 +24,9 @@ CLI_MANS = \
$
(
addsuffix .1,
${
CLITOOLS
}
)
\
$
(
addsuffix .1,
${
CLITOOLS
}
)
\
pveversion.1
\
pveversion.1
\
pveupgrade.1
\
pveupgrade.1
\
pveperf.1
pveperf.1
\
pvesh.1
CLI_PODS
=
$
(
addsuffix .pod,
${
CLI_MANS
}
)
CLI_PODS
=
$
(
addsuffix .pod,
${
CLI_MANS
}
)
...
@@ -60,6 +62,10 @@ pveperf.1.pod: pveperf
...
@@ -60,6 +62,10 @@ pveperf.1.pod: pveperf
podselect
$<
>
$@
.tmp
podselect
$<
>
$@
.tmp
mv
$@
.tmp
$@
mv
$@
.tmp
$@
pvesh.1.pod
:
pvesh
podselect
$<
>
$@
.tmp
mv
$@
.tmp
$@
%.service-bash-completion
:
%.service-bash-completion
:
perl
-I
..
-T
-e
"use PVE::Service::
$*
; PVE::Service::
$*
->generate_bash_completions();"
>
$@
.tmp
perl
-I
..
-T
-e
"use PVE::Service::
$*
; PVE::Service::
$*
->generate_bash_completions();"
>
$@
.tmp
mv
$@
.tmp
$@
mv
$@
.tmp
$@
...
...
bin/pvesh
View file @
4f406f45
...
@@ -562,3 +562,49 @@ while (defined ($input = $term->readline("pve:/$cdir> "))) {
...
@@ -562,3 +562,49 @@ while (defined ($input = $term->readline("pve:/$cdir> "))) {
};
};
warn
$@
if
$@
;
warn
$@
if
$@
;
}
}
__END__
=head1 NAME
pvesh - shell interface to the Promox VE API
=head1 SYNOPSIS
pvesh [get|set|create|delete|help] [REST API path] [--verbose]
=head1 DESCRIPTION
pvesh provides a shell-like interface to the Proxmox VE REST API, in two different modes:
=over
=item interactive
when called without parameters, pvesh starts an interactive client, where you can navigate
in the different parts of the API
=item command line
when started with parameters pvesh will send a command to the corresponding REST url, and will
return the JSON formatted output
=back
=head1 EXAMPLES
get the list of nodes in my cluster
pvesh get /nodes
get a list of available options for the datacenter
pvesh help cluster/options -v
set the HTMl5 NoVNC console as the default console for the datacenter
pvesh set cluster/options -console html5
=head1 SEE ALSO
qm(1), pct(1)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment