Sha256: d5623312435448da35b8fb6d3db7be93487daf7cba9bcbf971d075dd843b3c70

Contents?: true

Size: 945 Bytes

Versions: 13

Compression:

Stored size: 945 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`.

### Options

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

#### `-s`, `--setup`

Whether to setup application commands.

#### `-t`, `--token`

The name of the environment variable to use for token, or just `-t` or `--token` for intractive prompt.

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
discorb-0.9.3 docs/cli/run.md
discorb-0.9.1 docs/cli/run.md
discorb-0.9.0 docs/cli/run.md
discorb-0.8.2 docs/cli/run.md
discorb-0.8.1 docs/cli/run.md
discorb-0.8.0 docs/cli/run.md
discorb-0.7.6 docs/cli/run.md
discorb-0.7.3 docs/cli/run.md
discorb-0.7.2 docs/cli/run.md
discorb-0.7.1 docs/cli/run.md
discorb-0.7.0 docs/cli/run.md
discorb-0.6.1 docs/cli/run.md
discorb-0.6.0 docs/cli/run.md