From 5fd6542da2e06a9130922683cbbdf5a737adeb37 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Mon, 15 Apr 2019 17:44:17 +0200 Subject: [PATCH] Create console command --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 9afe901..2a5602e 100644 --- a/setup.py +++ b/setup.py @@ -10,4 +10,7 @@ setup( install_requires=[ 'docker-py==1.10.6', ], + entry_points={'console_scripts': [ + 'restic-volume-backup = restic_volume_backup.cli:main', + ]}, )