From 8531d9a6d3651fdaf79899fb55c32c1f7ec2a00e Mon Sep 17 00:00:00 2001 From: tcpj Date: Fri, 20 Jul 2018 17:39:16 +0200 Subject: [PATCH] chore: doc --- doc/goenvtemplator2.1 | 53 +++++++++++++++++++++++++++++++++++-------- glide.lock | 10 +++++--- 2 files changed, 50 insertions(+), 13 deletions(-) diff --git a/doc/goenvtemplator2.1 b/doc/goenvtemplator2.1 index e9e8ef9..f10060f 100644 --- a/doc/goenvtemplator2.1 +++ b/doc/goenvtemplator2.1 @@ -10,16 +10,49 @@ goenvtemplator2 [OPTIONS] goenvtemplator2 is a simple app, that can template your config files by environment variables and optionally replace itself (by exec syscall) with the application binary. So at the end your application runs directly under the process that run this tool like docker as if it was originally the entrypoint itself. .SH OPTIONS -Possible OPTIONS are: - -debug-templates Print processed templates to stdout. - -env-file FILE Additional file with environment variables. Can be - passed multiple times. (default []) - -exec COMMAND ARGS Activates exec by command. First non-flag arguments is - the command, the rest are it's arguments. - -template VALUE Template (/template:/dest). Can be passed multiple - times. (default []) - -v INT Verbosity level. - -version Prints version. +.TP +.BI "\-alsologtostderr"\fR +log to standard error as well as files +.TP +.BI "\-delim-left \fIstring"\fR +(text/template only) Override default left delimiter {{. +.TP +.BI "\-delim-right \fIstring" +(text/template only) Override default right delimiter }}. +.TP +.BI "\-engine \fIstring" +Override default text/template [supports: text/template, pongo] (default "text/template") +.TP +.BI "\-env-file \fIvalue" +Additional file with environment variables. Can be passed multiple times. +.TP +.BI "\-exec"\fR +Activates exec by command. First non-flag arguments is the command, the rest are it's arguments. +.TP +.BI "\-log_backtrace_at \fIvalue" +when logging hits line file:N, emit a stack trace +.TP +.BI "\-log_dir \fIstring" +If non-empty, write log files in this directory +.TP +.BI "\-logtostderr" +log to standard error instead of files +.TP +.BI "\-stderrthreshold \fIvalue" +logs at or above this threshold go to stderr +.TP +.BI "\-template \fIvalue" +Template (/template:/dest). Can be passed multiple times. +.TP +.BI "\-v \fIvalue" +log level for V logs +.TP +.BI "\-version" +Prints version. +.TP +.BI "\-vmodule \fIvalue" +comma-separated list of pattern=N settings for file-filtered logging + .SH SEE ALSO envsubst(1), env(1) .SH BUGS diff --git a/glide.lock b/glide.lock index 55a5d52..f2207ee 100644 --- a/glide.lock +++ b/glide.lock @@ -1,12 +1,16 @@ -hash: 425d244bf3bbb2e65ea63d5503c543fcc67e21d946b70801e9b38f9b78aaaa31 -updated: 2017-02-09T12:45:47.121193027+01:00 +hash: f4afe62b505791456e506e08e4c50ff70236feeaf566778d9f0737aeedc99124 +updated: 2018-07-20T17:27:42.825241417+02:00 imports: - name: github.com/aokoli/goutils version: 9c37978a95bd5c709a15883b6242714ea6709e64 +- name: github.com/flosch/pongo2 + version: 5e81b817a0c48c1c57cdf1a9056cf76bdee02ca9 +- name: github.com/golang/glog + version: 23def4e6c14b4da8ac2ed8007337bc5eb5007998 - name: github.com/joho/godotenv version: a01a834e1654b4c9ca5b3ad05159445cc9c7ad08 - name: github.com/Masterminds/sprig version: 69011c0cd9b4d2e0733c4d9e2c8e2a5a0d0a2f2f - name: github.com/satori/go.uuid - version: 879c5887cd475cd7864858769793b2ceb0d44feb + version: f58768cc1a7a7e77a3bd49e98cdd21419399b6a3 testImports: []