From 892470bdadf09d549a1137e56b5fa50e013e0dac Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 7 Jul 2017 17:38:53 +0200 Subject: [PATCH] Add argument for account creation on command line. --- accountant/run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accountant/run.py b/accountant/run.py index 327337c..a3c020c 100644 --- a/accountant/run.py +++ b/accountant/run.py @@ -24,6 +24,8 @@ def users(): @users.command() +@click.argument('email') +@click.argument('password') def add(email, password): """ Add a new user. """ user = User()