Skip to Content

apxy config

Export and import proxy configuration.

apxy config

Export and import proxy configuration

Options

-h, --help help for config

Options inherited from parent commands

--config string config file (default is ~/.apxy/config.yaml) --error-format string error output format: text|json (default "text") --help-format string help output format: default|agent (default "default") --no-project ignore project .apxy/ and use global ~/.apxy (env: APXY_NO_PROJECT=1) --output string output format: agent|human (default: auto-detect via TTY) --verbose enable verbose output

SEE ALSO

  • apxy - Verify code changes against the HTTP requests they send
  • apxy config export - Export this workspace’s rules (or the global rules) to a JSON file
  • apxy config import - Import a JSON bundle into this workspace’s rules (or the global rules)
  • apxy config telemetry - View or change telemetry consent

apxy config export

Export this workspace’s rules (or the global rules) to a JSON file

Synopsis

Write the rules of this workspace’s rules file (<worktree>/.apxy/rules.json), or of the global rules file with —global, to a JSON bundle, with this machine’s custom CAs. apxy config import loads it into any workspace.

apxy config export [flags]

Options

--file string output file path (default "apxy-config.json") --global use the global rules (~/.apxy/rules.json) instead of this workspace's (<worktree>/.apxy/rules.json): global rules apply to untagged traffic, such as browsers on the system proxy and iOS simulators, and to every workspace after its own. Outside a git worktree, rules are always global -h, --help help for export

Options inherited from parent commands

--config string config file (default is ~/.apxy/config.yaml) --error-format string error output format: text|json (default "text") --help-format string help output format: default|agent (default "default") --no-project ignore project .apxy/ and use global ~/.apxy (env: APXY_NO_PROJECT=1) --output string output format: agent|human (default: auto-detect via TTY) --verbose enable verbose output

SEE ALSO

apxy config import

Import a JSON bundle into this workspace’s rules (or the global rules)

Synopsis

Load a bundle written by apxy config export into this workspace’s rules file, or the global rules file with —global, and push it to the running proxy. Rule kinds in the bundle replace those in the file; custom CAs join this machine’s.

apxy config import [flags]

Options

--control-url string control API URL (default "http://127.0.0.1:8081") --file string configuration file to import --global use the global rules (~/.apxy/rules.json) instead of this workspace's (<worktree>/.apxy/rules.json): global rules apply to untagged traffic, such as browsers on the system proxy and iOS simulators, and to every workspace after its own. Outside a git worktree, rules are always global -h, --help help for import

Options inherited from parent commands

--config string config file (default is ~/.apxy/config.yaml) --error-format string error output format: text|json (default "text") --help-format string help output format: default|agent (default "default") --no-project ignore project .apxy/ and use global ~/.apxy (env: APXY_NO_PROJECT=1) --output string output format: agent|human (default: auto-detect via TTY) --verbose enable verbose output

SEE ALSO

apxy config telemetry

View or change telemetry consent

Synopsis

View or change APXY telemetry consent.

APXY collects anonymous usage statistics and crash reports to improve the product. No request content, credentials, or personally identifiable information is ever sent.

Use ‘on’ to enable telemetry (default for release builds). Use ‘off’ to opt out completely. Use ‘status’ or run without arguments to see the current setting.

You can also set DO_NOT_TRACK=1 in your environment to disable telemetry without modifying any files.

apxy config telemetry [on|off|status] [flags]

Options

-h, --help help for telemetry

Options inherited from parent commands

--config string config file (default is ~/.apxy/config.yaml) --error-format string error output format: text|json (default "text") --help-format string help output format: default|agent (default "default") --no-project ignore project .apxy/ and use global ~/.apxy (env: APXY_NO_PROJECT=1) --output string output format: agent|human (default: auto-detect via TTY) --verbose enable verbose output

SEE ALSO

Last updated on