From 2937435960a516aff7e261f29c6f92f15ec43f54 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 15 Mar 2015 18:44:43 +0300 Subject: [PATCH] Add missing commands api, config. --- man/aptly.1 | 31 +++++++++++++++++++++++++++++++ man/aptly.1.ronn.tmpl | 4 ++++ 2 files changed, 35 insertions(+) diff --git a/man/aptly.1 b/man/aptly.1 index f4ed4b38..866b839d 100644 --- a/man/aptly.1 +++ b/man/aptly.1 @@ -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\. . diff --git a/man/aptly.1.ronn.tmpl b/man/aptly.1.ronn.tmpl index 3d6528b2..7b7ea0b4 100644 --- a/man/aptly.1.ronn.tmpl +++ b/man/aptly.1.ronn.tmpl @@ -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