Comments (7)
🎁 I come bearing gifts! 🎁 urfave/cli#819
from crypt.
Yeah, that would obviously work 👍
(and is often the only way - e.g. when you have conditionally required flags).
Normally I guess the added benefit (of having this possible in library) is that:
- this check is implicit (obviously - that's the whole point)
- it gets automatically marked appropriately in
--help
messages
from crypt.
I kind of get the explanation in the upstream issue, params validation is more of a "business logic".
I'd implement it as preconditions in the command, e.g.:
genuinetools/reg@58cebba#diff-f6da2430393ce391e4517013b6d3a95bL14
from crypt.
Hmm we might want to look at this:
urfave/cli#140
urfave/cli#140 (comment)
https://github.com/urfave/cli#placeholder-values
urfave/cli#85 (comment)
urfave/cli#85 (comment)
urfave/cli#85 (comment)
from crypt.
There's also a 4 yo PR ;)
urfave/cli#155
from crypt.
we might as well migrate to cobra library (used by kubectl)
from crypt.
fixed in v0.2.3
from crypt.
Related Issues (17)
- Add CONTRIBUTING.md HOT 1
- Azure Encrypt error 404 HOT 2
- Encrypt adds a new line
- Dependency constraint issue HOT 1
- Version flag doesn't return correct value HOT 4
- GPG - support for keyring
- Switch to go modules from dep HOT 2
- Crypt does not support encrypting long secrets (more than ~500 bytes) with Azure KeyVault HOT 2
- Not able to connect to AWS using crypt HOT 1
- Avoid setting the "default" profile if not passed
- Support multiple Azure authentication methods
- Document crypt recipes
- HashiCorp Vault support
- crypt as a Helm plugin HOT 1
- distribution packaging [mac - linux] HOT 4
- Add GPG support HOT 1
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 crypt.