Sha256: f6f56afb1fd0668d6e3c899e7a2742e4cd53ea741e00fdff16c80fc381421f50

Contents?: true

Size: 1.1 KB

Versions: 8

Compression:

Stored size: 1.1 KB

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`.
If the script wasn't specified, it will also look for a file named `main.rb` in the parent directories, like rake.

### Options

#### `-t`, `--title`

The title of the process.

#### `-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 set up application commands.

#### `-e`, `--env`

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

#### `-b`, `--bundler`

Whether to use bundler to load the script.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
discorb-0.16.0 docs/cli/run.md
discorb-0.15.1 docs/cli/run.md
discorb-0.15.0 docs/cli/run.md
discorb-0.14.0 docs/cli/run.md
discorb-0.13.4 docs/cli/run.md
discorb-0.13.3 docs/cli/run.md
discorb-0.13.2 docs/cli/run.md
discorb-0.13.1 docs/cli/run.md