use anyhow::Result;
use clap::Parser;
use crate::ui;
#[derive(Debug, Parser)]
pub struct DocsArgs {}
pub fn run(_args: DocsArgs) -> Result<()> {
ui::header(
"portaki docs",
"There is no docs server — these two commands are the documentation.",
);
ui::list(
"commands",
&[
(
"cargo doc --workspace --no-deps --open",
"the SDK's API, rendered from the source you compile against",
),
(
"portaki catalog --format json",
"every SDUI primitive the host knows how to render",
),
],
);
ui::blank();
Ok(())
}