From ebec361b9f7e4b7583a5b4100f0a260c7f4559f3 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 11 Feb 2019 05:30:51 +0100 Subject: [PATCH] doc: adds readme. --- readme.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..d0ccfb1 --- /dev/null +++ b/readme.md @@ -0,0 +1,45 @@ +# traefik-certs-dumper + +[![Build Status](https://travis-ci.org/ldez/traefik-certs-dumper.svg?branch=master)](https://travis-ci.org/ldez/traefik-certs-dumper) +[![Go Report Card](https://goreportcard.com/badge/github.com/ldez/traefik-certs-dumper)](https://goreportcard.com/report/github.com/ldez/traefik-certs-dumper) + + +``` +Dump the content of the "acme.json" file from Traefik to certificates. + +Usage: + traefik-certs-dumper [command] + +Available Commands: + dump Dump Let's Encrypt certificates from Traefik + help Help about any command + version Display version + +Flags: + -h, --help help for certs-dumper + --version version for certs-dumper + +Use "traefik-certs-dumper [command] --help" for more information about a command. +``` + +``` +Dump the content of the "acme.json" file from Traefik to certificates. + +Usage: + traefik-certs-dumper dump [flags] + +Flags: + --dest string Path to store the dump content. (default "./dump") + -h, --help help for dump + --source string Path to 'acme.json' file. (default "./acme.json") +``` + +## Examples + +```bash +treafik-certs-dumper dump +``` + +```bash +treafik-certs-dumper dump --source ./acme.json --dest ./dump +```