Refactor ctail+ctfetch into a common ctool
This commit is contained in:
@@ -5,22 +5,22 @@ Tail a Static CT log, printing a one-liner per new certificate or precertificate
|
||||
## Install
|
||||
|
||||
```bash
|
||||
GOPRIVATE=git.ipng.ch go install git.ipng.ch/certificate-transparency/ctfetch/cmd/ctail@latest
|
||||
GOPRIVATE=git.ipng.ch go install git.ipng.ch/certificate-transparency/ctfetch/cmd/ctool@latest
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
ctail [flags] <log-url>
|
||||
ctool tail [flags] <log-url>
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
```bash
|
||||
ctail https://halloumi2026h1.mon.ct.ipng.ch
|
||||
ctool tail https://halloumi2026h2.mon.ct.ipng.ch
|
||||
```
|
||||
|
||||
By default `ctail` starts at the current tree tip and prints new entries as they appear. Use `--from-leaf 0` to replay from the beginning.
|
||||
By default `ctool tail` starts at the current tree tip and prints new entries as they appear. Use `--from-leaf 0` to replay from the beginning.
|
||||
|
||||
## Output format
|
||||
|
||||
|
||||
Reference in New Issue
Block a user