You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by ra...@apache.org on 2017/05/04 14:09:43 UTC

incubator-ariatosca git commit: ARIA-209 Fix create-archive CLI command help [Forced Update!]

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-209-fix-create-archive-command-help 505df8d20 -> e94d19ec5 (forced update)


ARIA-209 Fix create-archive CLI command help


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/e94d19ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/e94d19ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/e94d19ec

Branch: refs/heads/ARIA-209-fix-create-archive-command-help
Commit: e94d19ec5c93ef89946aee10da0880fac6885fdd
Parents: 0878526
Author: Ran Ziv <ra...@gigaspaces.com>
Authored: Thu May 4 17:07:50 2017 +0300
Committer: Ran Ziv <ra...@gigaspaces.com>
Committed: Thu May 4 17:09:30 2017 +0300

----------------------------------------------------------------------
 aria/cli/commands/service_templates.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/e94d19ec/aria/cli/commands/service_templates.py
----------------------------------------------------------------------
diff --git a/aria/cli/commands/service_templates.py b/aria/cli/commands/service_templates.py
index 97367c2..2537012 100644
--- a/aria/cli/commands/service_templates.py
+++ b/aria/cli/commands/service_templates.py
@@ -182,20 +182,21 @@ def validate(service_template, service_template_filename,
 
 
 @service_templates.command(name='create-archive',
-                           short_help='Create a csar archive')
+                           short_help='Create a CSAR archive')
 @aria.argument('service-template-path')
 @aria.argument('destination')
 @aria.options.verbose()
 @aria.pass_logger
 def create_archive(service_template_path, destination, logger):
-    """Create a csar archive
+    """Create a csar archive on the local file system
 
     `service_template_path` is the path of the service template to create the archive from
-    `destination` is the path of the output csar archive
+
+    `destination` is the path of the output CSAR archive file
     """
-    logger.info('Creating a csar archive')
+    logger.info('Creating a CSAR archive')
     csar.write(os.path.dirname(service_template_path), service_template_path, destination, logger)
-    logger.info('Csar archive created at {0}'.format(destination))
+    logger.info('CSAR archive created at {0}'.format(destination))
 
 
 def print_service_template_inputs(model_storage, service_template_name, logger):