Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tyt2y3
Copy link
Member

@tyt2y3 tyt2y3 commented Jan 24, 2023

I think we can enable this by default on 0.11

Dependent: SeaQL/seaql.github.io#84

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good step forward! I think it's better to have a fallback option where the entity file is named with local time. Something like --local-time?

I'm more than happy to add that for you. What's your opinion?

@tyt2y3
Copy link
Member Author

tyt2y3 commented Jan 26, 2023

I think --universal-time=false is always available
Unless we make --local-time https://docs.rs/clap/latest/clap/builder/struct.Arg.html#method.conflicts_with
It will be quite cumbersome, so I am fine with or without it.

@billy1624
Copy link
Member

Flag in clap does not take value unless it's an option. I.e. --universal-time=true clap-rs/clap#1649 (comment)

I'll go and add a --local-time flag and make it mutual exclusive to each other.

@tyt2y3 tyt2y3 merged commit a9aa139 into master Jan 29, 2023
@tyt2y3 tyt2y3 deleted the cli/params-1 branch January 29, 2023 02:56
@billy1624 billy1624 added this to the 0.11.x milestone Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants