Skip to main content

INVOCATION_FRAGMENT

Constant INVOCATION_FRAGMENT 

Source
pub const INVOCATION_FRAGMENT: &str = r"{% macro mounted_invocation(surface, examples) -%}
## Invocation

```sh
{% for example in examples -%}
mise run {{ surface.mount }} {{ example }}
{% endfor -%}
```

Never `mise run {{ surface.mount }} --`. The `--` in `#USAGE mount` is mise's
completion bootstrap.
{%- endmacro %}";
Expand description

Shared fragment that renders mounted invocations and the no--- rule.