Skip to content

Cli

One command to type, with its copy button and, if it helps, what it prints.

import Cli from '@sypnia/ui/astro/Cli.astro'

On this page
  1. A command and its output
  2. When to use it
  3. For everyone

A command and its output

sypnia tables list
orders      1,240 rows
customers     312 rows
Code
---
import Cli from '@sypnia/ui/astro/Cli.astro';
---
<div class="sy-docs" style="min-height:0;background:none">
<Cli command="sypnia tables list">
  <Fragment slot="output">orders      1,240 rows
customers     312 rows</Fragment>
</Cli>
</div>

When to use it

Use it when

  • Any command the reader runs.

Do not use it when

  • Installing a package: that is PackageTabs.

For everyone

  • The copy button has a name and announces «Copied».
  1. A command and its output
  2. When to use it
  3. For everyone

    Search pages, sections and terms