deltachat-desktop icon indicating copy to clipboard operation
deltachat-desktop copied to clipboard

`deltachat --version` does not work

Open Simon-Laux opened this issue 2 years ago • 6 comments

would be nice if it could print some info without starting DeltaChat

Simon-Laux avatar Mar 04 '22 14:03 Simon-Laux

Also --help would be nice

Jikstra avatar Mar 04 '22 15:03 Jikstra

hi guys, can I work on this?

nadia12-p avatar Jul 01 '22 16:07 nadia12-p

hi guys, can I work on this?

sure, you don't need to ask if no one is assigned, you can just say instead that you are working on it. ;)

Simon-Laux avatar Jul 01 '22 17:07 Simon-Laux

hi! the --version flag is working, but I'm not sure what info you want to put in --help, the only command right now is --version, so it will only print that info, is it ok or am I missing something?

Currently I've left it like this:

Screen Shot 2022-07-04 at 16 36 01

nadia12-p avatar Jul 04 '22 20:07 nadia12-p

there are more options, see https://github.com/deltachat/deltachat-desktop/blob/master/docs/CLI_FLAGS.md Also because you haven't found this file on your own, we improve it's discoverability, what do you think we could do to make that file more visible?

Simon-Laux avatar Jul 05 '22 10:07 Simon-Laux

@Simon-Laux thanks for the help!! I think keeping it like that is fine. However, I can't find the code where these options are declared which is why I'm confused hahaha do you know how they work or where I can look at the logic of these flags?

The flags I made work by putting deltachat-desktop --version on the terminal, do the cli flags of the docs have another format?

nadia12-p avatar Jul 05 '22 14:07 nadia12-p

closed by https://github.com/deltachat/deltachat-desktop/pull/2821

Simon-Laux avatar Sep 18 '22 18:09 Simon-Laux