Content
Terminal
Shell commands in a window.
import { Terminal } from "gui-mellow/Terminal";Install
install
# Join an existing clustercurl -fsSL https://example.com/install.sh | shcc join \--token $TOKEN# from the dashboard
Source of these examples
import { Terminal } from "gui-mellow/Terminal";
import { Example } from "../lib/Example";
export default function TerminalDemo() {
return (
<Example title="Install">
<Terminal
label="install"
lines={[
"# Join an existing cluster",
"curl -fsSL https://example.com/install.sh | sh",
"",
"cc join \\",
" --token $TOKEN # from the dashboard",
]}
/>
</Example>
);
}