From d24528e4b93e8794196b910a38ee64a6de9a2567 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 25 Jun 2018 13:32:17 -0400 Subject: [PATCH] Issue command stub --- libremanage.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libremanage.py b/libremanage.py index 7a59af9..9bfacfc 100644 --- a/libremanage.py +++ b/libremanage.py @@ -35,10 +35,12 @@ Valid commands are as follows: - shutdown, reboot, poweron: Power management """ -#sys.argv[1] if len(sys.argv) != 3: print("Incorrect number of arguments") print(USAGE) sys.exit(1) -print(len(sys.argv)) +def issue_command(server_name, command): + print(server_name, command) + +issue_command(sys.argv[1], sys.argv[2]) -- 2.25.1