You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
01/docs/software/flags.mdx

43 lines
796 B

---
title: "Flags"
description: "Customize the behaviour of your 01 from the CLI"
---
## CLI Flags
- `--server`
Run server.
- `--server-host TEXT`
Specify the server host where the server will deploy.
Default: `0.0.0.0`.
- `--server-port INTEGER`
Specify the server port where the server will deploy.
Default: `10001`.
- `--tunnel-service TEXT`
Specify the tunnel service.
Default: `ngrok`.
- `--expose`
Expose server to internet.
- `--client`
Run client.
- `--server-url TEXT`
Specify the server URL that the client should expect.
Defaults to server-host and server-port.
Default: `None`.
- `--client-type TEXT`
Specify the client type.
Default: `auto`.
- `--qr`
Display QR code to scan to connect to the server.
- `--help`
Show this message and exit.