table of contents
XMPPC(1) | XMPPC(1) |
NAME¶
xmppc - XMPP Command line Tool
SYNOPSIS¶
xmppc [OPTIONS] -m MODE COMMAND [<args>...]
xmppc [-a ACCOUNT] [-j JID] [-p PASSWORD] -m MODE COMMAND [<args>...]
DESCRIPTION¶
xmppc is a XMPP command line tool. You need an XMPP Account to use this tool. The account information can be defined via command line argument -j JID. If no password is provided via -p PASSWORD xmppc will ask the user to enter the password. Another option is to define 1 or more accounts within a configuration file. The option -a ACCOUNT can be used to select the account.
The argument -m MODE defines the xmppc MODE which should be used (roster, message, pgp, omemo, openpgp, monitor, bookmark, mam, discovery). The COMMAND and the args required by the COMMAND depends on the chosen MODE.
OPTIONS¶
-a, --attribute ACCOUNT
-j, --jid JID
-p, --pwd PWD
-v VERBOSE, Verbose flags. -v[v[v[v]]]
--help
MODES AND COMMANDS¶
xmppc modes.
-m roster
-m message
-m pgp
-m omemo
-m openpgp
-m monitor
-m bookmark
-m mam
-m discovery
ENVIRONMENT VARIABLES¶
EXAMPLES¶
xmppc --jid user@domain.tld --pwd "secret" --mode roster list xmppc --jid user@domain.tld --mode pgp chat friend@domain.tld "Hello" xmppc -a account1 --mode discovery item conference@domain.tld xmppc --mode bookmark list
FILES¶
Configuration file to setup accounts.
~/.config/xmppc.conf
[default] jid=account1@domain.tld pwd=password1
[account2] jid=account2@domain.tld
[account3] jid=account3@domain.tld pwd=password3
EXIT STATUS¶
0
1
BUGS¶
AUTHOR¶
RESOURCES¶
Source: https://codeberg.org/Anoxinon_e.V./xmppc
Documentation: https://codeberg.org/Anoxinon_e.V./xmppc/wiki
COPYING¶
Copyright (C) 2020 Anoxinon e.V. Free use of this software is granted under the terms of the GNU General Public License (GPL).
05/16/2020 |