diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 00:57:48 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 01:03:01 +0300 |
commit | 0c36853b823be03b06e45944213034fe48102378 (patch) | |
tree | 9c010bbbd2808597155b64c1a2a6bcfa97c211a9 /docs/mutuals.md | |
parent | README: update (diff) | |
download | vk-scripts-0c36853b823be03b06e45944213034fe48102378.tar.gz vk-scripts-0c36853b823be03b06e45944213034fe48102378.zip |
docs: update
Diffstat (limited to '')
-rw-r--r-- | docs/mutuals.md | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/docs/mutuals.md b/docs/mutuals.md index 39ee76f..eeaa23d 100644 --- a/docs/mutuals.md +++ b/docs/mutuals.md @@ -1,20 +1,18 @@ -mutual_friends.py -================= +vk-mutuals +========== Learn who your ex and her new boyfriend are both friends with. Usage ----- -Run from the top-level directory using `python -m`: - - > python -m bin.mutual_friends -h - usage: mutual_friends.py [-h] [-f {csv,json}] [-o PATH] UID [UID ...] + > vk-mutuals -h + usage: vk-mutuals [-h] [-f {csv,json}] [-o PATH] UID [UID ...] ... For example (using made up user IDs/"screen names"), - > python -m bin.mutual_friends john.doe jane.doe + > vk-mutuals john.doe jane.doe 89497105,John,Smith 3698577,Jane,Smith @@ -24,7 +22,7 @@ Smith" and "Jane Smith", whose user IDs are 89497105 and 3698577 respectively. The output format is CSV (comma-separated values) by default. You can also get a JSON document: - > python -m bin.mutual_friends --format json john.doe jane.doe + > vk-mutuals --format json john.doe jane.doe [ { "uid": 89497105, |