aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis/test/mutual_friends.sh
blob: ebe0c173de54d0621922428d73084264745da201 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash

# Copyright (c) 2019 Egor Tensin <Egor.Tensin@gmail.com>
# This file is part of the "VK scripts" project.
# For details, see https://github.com/egor-tensin/vk-scripts.
# Distributed under the MIT License.

set -o errexit -o nounset -o pipefail

mutual_friends() {
    echo 'Running mutual_friends.py --format csv...'
    python3 -m bin.mutual_friends --format csv "$@"
    echo 'Running mutual_friends.py --format json...'
    python3 -m bin.mutual_friends --format json "$@"
}

main() {
    mutual_friends kreed58 maxkorzh_official
}

main "$@"