Add missing commands api, config.

This commit is contained in:
Andrey Smirnov
2015-03-15 18:44:43 +03:00
parent 5da4bde428
commit 2937435960
2 changed files with 35 additions and 0 deletions

View File

@@ -1522,6 +1522,25 @@ Options:
\-\fBlisten\fR=:8080
host:port for HTTP listening
.
.SH "START API HTTP SERVICE"
\fBaptly\fR \fBapi\fR \fBserve\fR
.
.P
Stat HTTP server with aptly REST API\.
.
.P
Example:
.
.P
$ aptly api serve \-listen=:8080
.
.P
Options:
.
.TP
\-\fBlisten\fR=:8080
host:port for HTTP listening
.
.SH "RENDER GRAPH OF RELATIONSHIPS"
\fBaptly\fR \fBgraph\fR
.
@@ -1577,6 +1596,18 @@ Options:
\-\fBfilename\fR=
specifies the filename that contains the commands to run
.
.SH "SHOW CURRENT APTLY\(cqS CONFIG"
\fBaptly\fR \fBconfig\fR \fBshow\fR
.
.P
Command show displays the current aptly configuration\.
.
.P
Example:
.
.P
$ aptly config show
.
.SH "ENVIRONMENT"
If environment variable \fBHTTP_PROXY\fR is set \fBaptly\fR would use its value to proxy all HTTP requests\.
.

View File

@@ -283,12 +283,16 @@ When specified on command line, query may have to be quoted according to shell r
{{template "command" findCommand . "serve"}}
{{template "command" findCommand . "api"}}
{{template "command" findCommand . "graph"}}
{{template "command" findCommand . "config"}}
{{template "command" findCommand . "task"}}
{{template "command" findCommand . "config"}}
## ENVIRONMENT
If environment variable `HTTP_PROXY` is set `aptly` would use its value