{#if visible && filtered.length > 0}
{#each filtered as cmd, i} {/each}
{/if}