--- name: cli-tunnel description: Start and stop tunnel connections (ngrok, Cloudflare, custom) from the CLI. Inspect active tunnel URLs, configure authentication, and test external reachability.
Overview
Start and stop tunnel connections (ngrok, Cloudflare, custom) from the CLI. Inspect active tunnel URLs, configure authentication, and test external reachability.
Quick install
npm install -g AIRoute # or: npx AIRoute
AIRoute --version
Subcommands
tunnel
Example:
AIRoute tunnel
tunnel list
Flags:
--json
Example:
AIRoute tunnel list
tunnel create [type]
Example:
AIRoute tunnel create [type]
tunnel stop <type>
Flags:
--yes
Example:
AIRoute tunnel stop <type>
tunnel status <type>
Flags:
--json
Example:
AIRoute tunnel status <type>
tunnel logs <type>
Flags:
--tail <n>
Example:
AIRoute tunnel logs <type>
tunnel info <type>
Flags:
--json
Example:
AIRoute tunnel info <type>
tunnel rotate <type>
Flags:
--yes
Example:
AIRoute tunnel rotate <type>