import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, TableCaption, } from "@/components/ui/table"; import { Button } from "@/components/ui/button"; import { Link } from "react-router-dom"; import { Terminal, Cpu, PlayCircle, Settings, Activity, CloudLightning, Shield, ArrowRight, } from "lucide-react"; const commands = [ { command: "aethex init [name]", description: "Scaffold a new project with opinionated defaults", usage: "Creates configuration, environments, and starter services", }, { command: "aethex login", description: "Authenticate the CLI with your AeThex identity", usage: "Support for browser-based login and personal access tokens", }, { command: "aethex deploy", description: "Build and deploy the current project", usage: "Runs tests, packages artifacts, and promotes to the target environment", }, { command: "aethex env pull", description: "Sync environment variables and secrets", usage: "Keeps local .env files mirrored with the dashboard", }, { command: "aethex pipeline logs", description: "Stream deployment logs in real time", usage: "Supports filters by environment, branch, or commit SHA", }, ]; const automationTips = [ { title: "GitHub Actions", description: "Use the official AeThex GitHub Action to authenticate, run smoke tests, and deploy on every pull request merge.", }, { title: "Audit Trails", description: "Every CLI deployment emits audit events. Stream them into your SIEM through the webhooks integration.", }, { title: "Rollbacks", description: "`aethex deploy --rollback latest` instantly reverts to the previous stable release and notifies collaborators.", }, { title: "Preview Environments", description: "`aethex preview create` spins up disposable stacks tied to feature branches for stakeholder reviews.", }, ]; export default function DocsCli() { return (
The AeThex CLI automates local development, environment management, and production deployments. It is built with stability in mind, featuring transactional deploys, shell-friendly output, and native support for Linux, macOS, and Windows.
Run aethex dev to start
local services with hot reloading and the AeThex mock identity
provider. Inspect logs via the integrated tail view.
Use aethex data seed to
populate sample datasets for QA or demo accounts.
Synchronize configuration with{" "}
aethex env pull or
populate remote environments from local files using{" "}
aethex env push.
Inspect secrets securely through{" "}
aethex env inspect.
Output is redacted by default, keeping sensitive data safe in
terminal logs.
Each deployment is transactional: a failure during build or migration automatically halts promotion and emits alerts to subscribed channels.
Gates such as quality checks or approvals can be configured in{" "}
aethex.config.ts
and enforced automatically by the CLI.
The CLI signs every build artifact and enforces checksums during deployment. Combine this with RBAC token policies to guarantee only trusted pipelines can trigger releases.