---
name: "show_git_clone"
pack: "packs"
description: "Show the Git clone command for a given pack"
action_ref: "packs.pack_to_git_url"
formats:
  - "show git clone {{pack_to_expand}}"
ack:
  enabled: false
result:
  format: |
    {% if execution.status == "succeeded"  %}
    The following will clone this Repository:{~}
    ```git clone {{ execution.result.result.url }}```
    {% else %}
    Sorry I don't know about that Git Repository: {{ execution.result.result.git_repo }}: {{ execution.result.result.error }} {~}
    {% endif %}

---
name: "show_git_clone"
pack: "packs"
description: "Show the Git clone command for a given pack"
action_ref: "packs.expand_repo_name"
formats:
  - "show git clone {{repo_name}}"
ack:
  enabled: false
result:
  format: |
    {% if execution.status == "succeeded"  %}
    The following will clone this Repository:{~}
    ```git clone {{ execution.result.result.repo_url }}```
    {% else %}
    Sorry I don't know about that Git Repository: `{{ execution.parameters.repo_name }}`.{~}
    {% endif %}

Fix for changes in action name and var changes
Fix for changes in action name and var changes
