Skip to content

Create instance ports from the CLI - #442

Draft
callen-bot wants to merge 2 commits into
agent/list-instance-portsfrom
agent/open-instance-port
Draft

Create instance ports from the CLI#442
callen-bot wants to merge 2 commits into
agent/list-instance-portsfrom
agent/open-instance-port

Conversation

@callen-bot

@callen-bot callen-bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add brev ports open <instance-or-node> <port> with an add alias
  • create raw TCP, UDP, and SSH mappings with repeatable --allow <CIDR>
  • create HTTP/HTTPS application endpoints with --public, repeatable --authorize, and --hostname
  • support managed instances and registered nodes, with table or stable JSON output

Why

PR #441 exposes existing mappings. This stacked follow-up adds the create flows, including the same HTTP application-port creation used by the UI.

Impact

Users can expose raw services or HTTP applications from the terminal, configure source or authorization access during creation, and capture the unique port_id for automation.

Stack

Validation

  • go test -race ./pkg/cmd/ports ./pkg/cmd/util ./pkg/cmd
  • make fmtcheck
  • make vet
  • make lint
  • make fast-build

@callen-bot callen-bot changed the title Open instance ports from the CLI Create instance ports from the CLI Aug 14, 2026
@callen-bot
callen-bot force-pushed the agent/open-instance-port branch from 809eff1 to 5a205d1 Compare August 14, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant