go-spatial / tegola

Tegola is a Mapbox Vector Tile server written in Go
http://tegola.io/
MIT License
1.26k stars 193 forks source link

config: read config from stdin #802

Closed ear7h closed 2 years ago

ear7h commented 2 years ago

This feature is helpful for running configs generated from another command (like dhall-toml 👀).

The - is an idiomatic alias for stdin used in commands like curl and grep.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 9309a3b32-PR-802


Changes Missing Coverage Covered Lines Changed/Added Lines %
config/config.go 0 3 0.0%
<!-- Total: 2 5 40.0% -->
Totals Coverage Status
Change from base Build e444ac0b8: -0.007%
Covered Lines: 5435
Relevant Lines: 12071

💛 - Coveralls
gdey commented 2 years ago

@ear7h will review after #801 on Friday if I have time left.

ARolek commented 2 years ago

@ear7h can you rebase this with v0.14.x? LGTM otherwise.

ear7h commented 2 years ago

@ARolek done, and I improved the cli help text to help feature discovery