Sha256: 79c1d8a63a8d485d5640762dbcb9bff836731e4816ec0743003b8721dc08efa3

Contents?: true

Size: 743 Bytes

Versions: 10

Compression:

Stored size: 743 Bytes

Contents

# @title CLI: discorb run

# discorb run

This command will run a client.


## Usage

```
discorb run [options] [script]
```

### Arguments

#### `script`

The script to run. Defaults to `main.rb`.

#### `-d`, `--deamon`

Run the client in deamon mode.

#### `-l`, `--log-level`

Specify the log level.
Should be one of the following:

* `none`
* `debug`
* `info`
* `warn`
* `error`
* `fatal`

#### `-f`, `--log-file`

Specify the file to write logs to.
You can use `stdout` to write to the standard output, and `stderr` to write to the standard error.

#### `-c`, `--[no-]log-color`

Whether to colorize the log output.
If not specified, the default will be:
- `true` if the file to write logs to is `stdout` or `stderr`.
- `false` otherwise.

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
discorb-0.5.6 docs/cli/run.md
discorb-0.5.5 docs/cli/run.md
discorb-0.5.4 docs/cli/run.md
discorb-0.5.3 docs/cli/run.md
discorb-0.5.2 docs/cli/run.md
discorb-0.5.1 docs/cli/run.md
discorb-0.5.0 docs/cli/run.md
discorb-0.4.2 docs/cli/run.md
discorb-0.4.1 docs/cli/run.md
discorb-0.4.0 docs/cli/run.md