{% extends "base.html" %} {% from "components/callouts.html" import warning, info %} {% block title %}{{ tool.owner }}/{{ tool.name }} - CmdForge Registry{% endblock %} {% block meta_description %}{{ tool.description or 'A CmdForge command-line tool' }}{% endblock %} {% block og_title %}{{ tool.owner }}/{{ tool.name }}{% endblock %} {% block og_description %}{{ tool.description or 'A CmdForge command-line tool' }}{% endblock %} {% block content %}

{{ tool.name }}

by {{ tool.owner }}

{% if tool.category %} {{ tool.category }} {% endif %}
{% if tool.description %}

{{ tool.description }}

{% endif %} {% if tool.tags %}
{% for tag in tool.tags.split(',') %} {{ tag.strip() }} {% endfor %}
{% endif %} {% if tool.source %}
{% if tool.source.type == 'forked' %} Forked from {% elif tool.source.type == 'imported' %} Based on {% else %} Source: {% endif %} {% if tool.source.original_tool %} {% if tool.source.url %} {{ tool.source.original_tool }} {% else %} {{ tool.source.original_tool }} {% endif %} {% elif tool.source.url %} {{ tool.source.url }} {% endif %} {% if tool.source.author %} Author: {{ tool.source.author }} {% endif %} {% if tool.source.license %} License: {{ tool.source.license }} {% endif %}
{% endif %}
{% if tool.deprecated %} {{ warning( title='This tool is deprecated', content=tool.deprecated_message or 'This tool is no longer maintained.' ) }} {% if tool.replacement %} {{ info( title='Recommended replacement', content='Consider using ' ~ tool.replacement ~ ' instead.' ) }} {% endif %} {% endif %}
{% if tool.readme %} {{ tool.readme_html|safe }} {% else %}

About {{ tool.name }}

{{ tool.description or 'No additional documentation available.' }}

Installation

cmdforge install {{ tool.owner }}/{{ tool.name }}

Usage

{{ tool.name }} --help
{% endif %}

Reviews

{% if session.get('auth_token') %} {% else %} Login to review {% endif %}
{% if reviews %}
{% for review in reviews %}
{% for i in range(1, 6) %} {% endfor %}
{% if review.title %}

{{ review.title }}

{% endif %}
{{ review.created_at|timeago }}
{% if review.content %}

{{ review.content }}

{% endif %}
by {{ review.reviewer_name }}
{% endfor %}
{% if reviews_total > 5 %} {% endif %} {% else %}

No reviews yet. {% if session.get('auth_token') %}Be the first to review this tool!{% endif %}

{% endif %}

Issues

{% if issues %}
{% for issue in issues %}
{{ issue.issue_type }}

{{ issue.title }}

{{ issue.severity }} · {{ issue.created_at|timeago }} · by {{ issue.reporter_name }}

{{ issue.status }}
{% endfor %}
{% if issues_total > 5 %} {% endif %} {% else %}

No issues reported for this tool.

{% endif %}
{% endblock %}