# faros app publish

Set production visibility: public, restricted or private

Source: https://faros.sh/docs/reference/cli/commands/app-publish/

<!-- Generated by scripts/sync-cli-docs.py from faroshq/faros docs/cli. Do not edit by hand; run `make sync-cli-docs`. -->

## Synopsis

Set who can open the production app.

```bash
public      anyone with the URL
restricted  signed-in users you grant (the default after the first promote)
private     unpublish and drop every grant
```

```bash
faros app publish <name> [flags]
```

## Options

```text
  -h, --help            help for publish
      --mode string     public, restricted or private (required)
  -o, --output string   Output format: json
```

## 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)
      --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)
```

## See also

- [faros app](https://faros.sh/docs/reference/cli/commands/app/) — Manage App Studio projects: list, create, status, sync, promote, publish
