github.com/rohankumardubey/draft-classic@v0.16.0/docs/advanced-setup.md (about)

     1  # Advanced Setup
     2  
     3  Once you have `draft` in your PATH, you'll want to run the `$ draft init`. `$ draft init` configures your local machine to work with Draft. It installs a set of default draft packs, plugins, and other directories required to work with Draft.
     4  
     5  Use the `--dry-run` flag to see what what Draft will install without actually doing anything: `$ draft init --dry-run`
     6  
     7  
     8  Your team may also have a set of plugins and pack repositories (repos) that they want to use or you all may even want to override some of the default ones that are installed. In this scenario, you can pass a TOML file in via the `--config` flag with the specified plugins and pack repositories you'd like to install during the `draft init` process.
     9  
    10  Specify in double brackets what you'd like to install: `[[plugin]]` or `[[repo]]`. Under that, specifiy some key/value pairs for information on the thing you're trying to install. Specify a `name` for the plugin or pack repository (repo) to install along with a `url` (location of the plugin or repo). Specify what version of a plugin you'd like to install using the `version` key. Case matters here. Keys need to be lowercase. See example below.
    11  
    12  In `config-file.toml`:
    13  
    14  ```toml
    15  [[plugin]]
    16  name = "plugin1"
    17  url = "url to plugin1"
    18  version = "1.0.0"
    19  
    20  [[plugin]]
    21  name = "plugin2"
    22  url = "url to plugin2"
    23  version = "1.0.0"
    24  
    25  [[repo]]
    26  name = "pack-repo"
    27  url = "url to pack repository"
    28  
    29  [[repo]]
    30  name = "another-repo"
    31  url = "url to another pack repository"
    32  ```
    33  
    34  On the command line:
    35  ```console
    36  $ draft init --config config-file.toml
    37  ```
    38  
    39  If a plugin or pack repository with the same name as the one you have specified already exists, the existing plugin or pack repository will be deleted and replaced with the one you've specified in the toml file passed in.