Usage notes
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 25 Jun 2018 17:30:03 +0000 (13:30 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 25 Jun 2018 17:30:03 +0000 (13:30 -0400)
libremanage.py

index bab4e682e3fc0ac78b3eb603c3ca67684c98573f..a2bb0227b6830d52208737ccd630b8773a759669 100644 (file)
@@ -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]