diff --git a/README.md b/README.md index 8e103f5..5af5135 100644 --- a/README.md +++ b/README.md @@ -8,40 +8,52 @@ Installing ```bash $ virtualenv --python=python3 venv $ . venv/bin/activate -$ pip install -r requirements.txt +$ pip install pbincli ``` Usage ----- -Edit variables `server`, `proxies` and `useproxy` in `pbincli/settings.py` to your values. +By default pbincli configured to use https://paste.i2pd.xyz/ for sending and receiving pastes. No proxy used by default. + +You can create config file with variables `server` and `proxy` in `~/.config/pbincli/pbincli.conf` to use different settings. + +Example contents: + +``` +server=https://paste.i2pd.xyz/ +proxy=http://127.0.0.1:3128 +``` Run inside `venv` command: - $ ./cli send --text "Hello!" + $ pbincli send --text "Hello!" Or use stdin input to read text for paste: - $ ./cli send - <