]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Adding help description
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 20 Mar 2018 14:41:46 +0000 (15:41 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 20 Mar 2018 14:41:46 +0000 (15:41 +0100)
lib/cr_vmware_tpl/app.py

index fe2048e04a9785a4723681cc24125e4a66e7f8c9..7437498e1eaebd5bf999064dd9139fd40f7e5447 100644 (file)
@@ -14,9 +14,10 @@ import os
 import logging
 import re
 import traceback
+import textwrap
+import argparse
 
 # Third party modules
-import argparse
 
 # Own modules
 from .errors import FunctionNotImplementedError, PpAppError
@@ -28,7 +29,7 @@ from .colored import ColoredFormatter, colorstr
 
 from .obj import PpBaseObject
 
-__version__ = '0.1.2'
+__version__ = '0.1.3'
 LOG = logging.getLogger(__name__)
 
 
@@ -139,6 +140,11 @@ class CrTplApplication(PpBaseObject):
             ep = self.appname.upper() + '_'
             self._env_prefix = self.re_anum.sub('_', ep)
 
+        self._description = textwrap.dedent('''\
+            Creates  in the given vSphere environment a template object,
+            which can be used to spawn different virtual machines.
+            ''').strip()
+
         self._init_arg_parser()
         self._perform_arg_parser()