byronwasti / movine

A migration manager written in Rust that attempts to be smart yet minimal
MIT License
109 stars 9 forks source link

help not available unless I have a connection #14

Closed crocme10 closed 4 years ago

crocme10 commented 4 years ago

Hello,

Thanks for your tool.

I am trying to get help from the CLI, but it says .... connection refused, or no env variable found.

I think I should be able to get a CLI help message without having met the requirements for a connection in the first place.

Thanks

byronwasti commented 4 years ago

You are totally right, the current behavior is not correct. I've been meaning to cleanup the CLI tools initialization steps, since they are completely backwards (load config, get connection then parse args, when parse args should be first...)

Hopefully I can fixed up soon!

byronwasti commented 4 years ago

Fixed in version 0.9.0, let me know if there are any other issues.

crocme10 commented 4 years ago

Thank you, that works great. Thanks for being so responsive!