Right now I have to invalidate the json with a # so it jumps to "enrollment mode".. looks like this:
$ ./cli-xmpp -config-file config.json -create
* (4:18PM) Failed to parse config file: invalid character '#' looking for beginning of object key string
* (4:18PM) Enrolling new config file
Account (i.e. user@example.com, enter to quit):
I'd like to make a compiled version of this available for download on our XMPP server but the following issues are preventing the release. Although it may be a specific use-case, I am sure it is not unique.
portable by default. does not save to ~/.xmpp-client or /tmp/xmpp-client-debug.log
easy to create/login to one specific server (our server, but that should be able to be modified to fit anybodys needs) for example: just type a nickname and it appends @example.com (or whoever builds the particular binary) This allows AIM functionality, super easy.
once configured properly, "just works". meaning, you run ./xmpp-client and it connects and displays your online buddies.
About the CLI flags
Would be nice:
./xmmp-client -c config.json -new # this registers new account based on config (if not empty config.json)
./xmpp-client -c config.json # this logs in to existing
./xmpp-client -new # this starts enrollment, asks where to save the about-to-be-created config file
Right now I have to invalidate the json with a # so it jumps to "enrollment mode".. looks like this:
I'd like to make a compiled version of this available for download on our XMPP server but the following issues are preventing the release. Although it may be a specific use-case, I am sure it is not unique.
About the CLI flags
Would be nice: