diff --git a/nebulactl.py b/nebulactl.py index e0c52f1e..b8f6d06b 100755 --- a/nebulactl.py +++ b/nebulactl.py @@ -139,12 +139,14 @@ def login(username, password, host, port, protocol): json.dump({"username": username, "password": password, "host": host, "port": port, "protocol": protocol}, auth_file) auth_file.write('\n') + # deletes the cred file from the user home folder @nebulactl.command(help="logout of nebula, useful when you want to make sure to delete stored credentials") def logout(): home = expanduser("~") os.remove(home + "/.nebula.json",) + @nebulactl.command(help="list nebula apps") def list(): connection = NebulaCall()