Skip to content
faros Docs
Sections
Open console

Enter a topic to search documentation.

    faros sandbox

    Drive a development-mode instance: sync, exec, logs, restart, status

    Synopsis

    Drive a development-mode infrastructure Instance (for an App Studio project, <project>-dev) through the hub data plane, as you.

    Component paths are relative to the component’s workspacePath: for the application template, sync api/ to component “api” and web/ to “web”. Production instances answer 409.

    Terminal
    faros sandbox sync    shop-dev api ./api
    faros sandbox exec    shop-dev api -- node -e 'console.log(1)'
    faros sandbox logs    shop-dev api -f
    faros sandbox restart shop-dev api
    faros sandbox env     shop-dev api PULSE_URL=https://… --restart
    faros sandbox status  shop-dev [api]

    Options

    TEXT
      -h, --help               help for sandbox
          --org string         Organization display name or UUID (default: the org that owns the kubeconfig's workspace)
          --workspace string   Workspace display name or UUID (default: the workspace the kubeconfig points at)

    Inherited options

    TEXT
          --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
          --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)

    See also