[ 
https://issues.apache.org/jira/browse/ARIA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994948#comment-15994948
 ] 

ASF GitHub Bot commented on ARIA-148:
-------------------------------------

Github user ran-z commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/107#discussion_r114554090
  
    --- Diff: aria/cli/commands/services.py ---
    @@ -177,3 +179,31 @@ def inputs(service_name, model_storage, logger):
             logger.info(inputs_string.getvalue())
         else:
             logger.info('\tNo inputs')
    +
    +
    [email protected](name='display',
    +                  short_help='Display service information')
    [email protected]('service-name')
    [email protected]()
    [email protected]_json
    [email protected]_yaml
    [email protected]_graph
    [email protected]_model_storage
    [email protected]_logger
    +def display(service_name, model_storage, json, yaml, graph, logger):
    +    """Display information for a specific service template
    +
    +    `SERVICE_NAME` is the name of the service to display information on.
    +    """
    +    logger.info('Displaying service {0}...'.format(service_name))
    +    service = model_storage.service.get_by_name(service_name)
    +    consumption.ConsumptionContext()
    +    if graph:
    --- End diff --
    
    General reminder that none of the methods below are standard for the CLI
    Fine for now, but keep https://issues.apache.org/jira/browse/ARIA-183 in 
mind


> Add CLI display commands
> ------------------------
>
>                 Key: ARIA-148
>                 URL: https://issues.apache.org/jira/browse/ARIA-148
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Tal Liron
>            Assignee: Tal Liron
>
> {{aria service-templates display}}
> {{aria services display}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to