projects
/
libremanage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7ab73
)
Usage notes
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Mon, 25 Jun 2018 17:30:03 +0000
(13:30 -0400)
committer
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Mon, 25 Jun 2018 17:30:03 +0000
(13:30 -0400)
libremanage.py
patch
|
blob
|
blame
|
history
diff --git
a/libremanage.py
b/libremanage.py
index bab4e682e3fc0ac78b3eb603c3ca67684c98573f..a2bb0227b6830d52208737ccd630b8773a759669 100644
(file)
--- 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]