Skip to content

dev-domains CLI reference ​

Part of the dev-domains documentation. See the guide for installation, configuration, and examples.

Generated from the CLI’s command and argument definitions. These commands run in a terminal, not in this page.

run ​

Run a detected or configured server through Portless

sh
npx @buildkitgg/dev-domains run --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory
--configstringNo—Explicit config file (relative to cwd)
endpointpositionalNo—Endpoint name

init ​

Detect tools and save project configuration

sh
npx @buildkitgg/dev-domains init --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory
--yesbooleanNo—Accept detected defaults without prompts
--domainstringNo—Local domain suffix
--projectstringNo—Project name
--dry-runbooleanNo—Print the config without writing files

detect ​

Print detected defaults without reading executable config

sh
npx @buildkitgg/dev-domains detect --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory

urls ​

Print domains and callback URLs as JSON

sh
npx @buildkitgg/dev-domains urls --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory
--configstringNo—Explicit config file (relative to cwd)

setup ​

Start Portless with the project's proxy settings

sh
npx @buildkitgg/dev-domains setup --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory
--configstringNo—Explicit config file (relative to cwd)

status ​

Show active Portless routes

sh
npx @buildkitgg/dev-domains status --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory
--configstringNo—Explicit config file (relative to cwd)

doctor ​

Check Portless, DNS, and certificate trust

sh
npx @buildkitgg/dev-domains doctor --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory
--configstringNo—Explicit config file (relative to cwd)

tunnel ​

Expose configured webhook POST paths through a tunnel

sh
npx @buildkitgg/dev-domains tunnel --help
ArgumentTypeRequiredDefaultDescription
--cwdstringNo"."Project directory
--configstringNo—Explicit config file (relative to cwd)
endpointpositionalNo—Endpoint name

schema ​

Print the JSON Schema for editor configuration

sh
npx @buildkitgg/dev-domains schema --help

No command-specific arguments.

Released under the MIT license.