From 4af4797812152ff1344dd610b918a1f8987d9340 Mon Sep 17 00:00:00 2001 From: r4sas Date: Fri, 16 Feb 2018 11:56:13 +0300 Subject: [PATCH] implement read text from stdin (closes #3) fix debug output --- LICENSE | 2 +- README.md | 18 +++++++++++++----- cli | 3 ++- pbincli/actions.py | 14 ++++++++------ 4 files changed, 24 insertions(+), 13 deletions(-) diff --git a/LICENSE b/LICENSE index 1cfe7f8..3d02a0b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ DWTFYWWI LICENSE Version 1, January 2006 - Copyright (C) 2006 Ævar Arnfjörð Bjarmason + Copyright (C) 2017-2018 R4SAS Preamble diff --git a/README.md b/README.md index 3a26b5f..9bc9666 100644 --- a/README.md +++ b/README.md @@ -17,25 +17,33 @@ Edit variables `server`, `proxies` and `useproxy` in `pbincli/settings.py` to yo Run inside `venv` command: - $ ./cli send -c "Hello!" + $ ./cli send -c "Hello!" + +Or use stdin input to read text for paste: + + $ ./cli send - <