From: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Date: Mon, 25 Jun 2018 17:30:03 +0000 (-0400)
Subject: Usage notes
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=93f19e92149830418c1fb48999f774425d72a7d4;p=libremanage.git

Usage notes
---

diff --git a/libremanage.py b/libremanage.py
index bab4e68..a2bb022 100644
--- a/libremanage.py
+++ b/libremanage.py
@@ -16,3 +16,23 @@ GNU Affero General Public License for more details.
 You should have received a copy of the GNU Affero General Public License
 along with this program.  If not, see <https://www.gnu.org/licenses/>.
 """
+
+import sys
+
+"""
+Usage:
+
+    $ libremanage [server name] [command]
+
+Example:
+
+    $ libremanage web2 reboot
+
+Server names are defined in the accompanying config.py.
+
+Valid commands are as follows:
+
+    - shutdown, reboot, poweron: Power management
+"""
+
+sys.argv[1]