Comments (4)
Cobra would let us generate man pages and whatnot which help with packaging. It's also a nicer API to write against. It's a slim dependency now (compared to a couple years ago which necessitated https://github.com/spf13/viper) so IMO no harm bringing it in to make UX easier and more consistent in addition to the extra features it provides.
from xcaddy.
Actually I'm considering using Cobra. That requires extensive effort to retrofit.
from xcaddy.
That seems way overkill. This has two subcommands and two flags. Why bring in those deps when the standard library will do?
from xcaddy.
Related Issues (20)
- Can I write plug-ins for caddy in other programming languages? And compile the plug-in into bytecode or dynamic link libraries? HOT 2
- Error when building with silinternational/certmagic-storage-dynamodb HOT 4
- Module requirement issues during Docker builds HOT 2
- xcaddy build fails behind proxy HOT 6
- xcaddy build doesn't use replacements from go.mod HOT 4
- crypto/ecdh: package crypto/ecdh is not in GOROOT (/usr/local/go/src/crypto/ecdh) HOT 1
- Build error HOT 10
- 404 - github.com/caddyserver/caddy/v2 HOT 2
- Issues with my docker compose HOT 1
- Building with go 1.21 fails at quic-go step HOT 5
- Consider using `goversioninfo` to embed info on Windows binaries HOT 1
- Update go version requirement in README HOT 1
- Can this build forks? HOT 3
- Support pgo builds HOT 1
- Getting errors when running command "xcaddy" on Debian 12 HOT 6
- How to get my self-written module included in the Standard features of https://caddyserver.com/download? HOT 1
- Error when trying to build Caddy crypto/ecdh: package crypto/ecdh is not in GOROOT (/usr/lib/go-1.18/src/crypto/ecdh) HOT 3
- build error with xCaddy. HOT 1
- Builder fails to build cloudflare module HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcaddy.