Comments (8)
The example-15-file need that package as well. This seems even less obvious as all it's doing is to read content from file or stdin, which doesn't relate to a now
package much.
from cli.
I did not realize it was a problem before,😭 .I just want to support more formats to parse time. Well, it's a defect!
from cli.
Oh, thanks for looking that way. By "support more formats to parse time", I presume you mean how to specify the duration. If so, I found the go's default flag's handling of the duration strings is quite superb. In fact, I was quite amaze how good it can handle all those difference cases.
Once again, Excellent package!
I blogged about "Passing options to Go from command line" before. I.e., I had a pretty extensive study of all the choices available (by then), and I'm really glad to have come across your new CLI now. Yours is by far the best.
I'll sure to blog again about it and prompt it.
Keep up the good work, :)
from cli.
Thanks a lot! 😄
from cli.
Hi mkideal,
If it will take a while for you to fix this, could you split the clix.File
out from github.com/mkideal/cli/ext
please?
I'm switching my code from other implementation to cli
, and this clix.File
has become a road block for me. Do the splitting will at least give you some time to think more...
Thanks
from cli.
I have removed github.com/jinzhu/now
from cli.
works great. Thx.
from cli.
I believe this is a better option -- I tried passing with the standard time format (-t '2016-01-02 03:04:05'
), and it works great.
If someone really need to parse unusual formats instead, s/he can pass it as string and use whatever fancy/powerful tools to do the conversion.
from cli.
Related Issues (20)
- Reader read from url HOT 2
- How to add default flag for jsonfile? HOT 4
- Add support for url.URL argument type HOT 7
- Simplify access to nested args HOT 3
- Publish new release please HOT 4
- Self config allows to go with the executable file HOT 5
- Excessive spacing with defaults when in NormalStyle HOT 19
- Terminate with non-zero exit code in case of an error HOT 2
- Something went wrong with dep HOT 6
- This project is now dormant, but there is a new forked repo HOT 8
- Catching up HOT 1
- Need separator to arrange parameters in groups HOT 4
- Need to loosen the tight control of the config name HOT 14
- When decoding Time with empty string, toggle IsSet HOT 1
- dft not accepting '$' value HOT 2
- Printing self help HOT 5
- Command alias HOT 4
- IsSet always returns false HOT 3
- Default value incorrect when printing usage
- Default arguments from embedded struct not realised 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 cli.