Closed AleF83 closed 5 years ago
I think that the --secret
is not required, the rest looks like a good proposal. Feel free to open a PR, we will appreciate the contribution :)
I actually like the --secret
approach because as Alex said, it'll open a comfortable option to add the files support.
I just think it is the only parameter that you expect to exist, but it's not critical. Both are good IMO
I'll PR this issue
I suggest to use options instead of arguments in CLI encrypt command. The encrypt command will be as following:
This approach will make the command line arguments order invariant and also we will be able to implement support for secret stored in file fixing #35. For example for secret stored in file the command will be as following:
I think it's more intuitive and self-describing command format.