2023-03-23 22:42:20 +00:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
# dotfiles
|
|
|
|
|
|
|
|
Personalize your workspace by applying a canonical dotfiles repository
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```console
|
|
|
|
coder dotfiles [flags] <git_repo_url>
|
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
```console
|
|
|
|
- Check out and install a dotfiles repository without prompts:
|
|
|
|
|
2023-09-07 21:28:22 +00:00
|
|
|
$ coder dotfiles --yes git@github.com:example/dotfiles.git
|
2023-03-23 22:42:20 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
2024-03-15 16:24:38 +00:00
|
|
|
### --symlink-dir
|
|
|
|
|
|
|
|
| | |
|
|
|
|
| ----------- | ------------------------------- |
|
|
|
|
| Type | <code>string</code> |
|
|
|
|
| Environment | <code>$CODER_SYMLINK_DIR</code> |
|
|
|
|
|
|
|
|
Specifies the directory for the dotfiles symlink destinations. If empty, will use $HOME.
|
|
|
|
|
2023-07-06 20:24:04 +00:00
|
|
|
### -b, --branch
|
|
|
|
|
|
|
|
| | |
|
|
|
|
| ---- | ------------------- |
|
|
|
|
| Type | <code>string</code> |
|
|
|
|
|
|
|
|
Specifies which branch to clone. If empty, will default to cloning the default branch or using the existing branch in the cloned repo on disk.
|
|
|
|
|
2023-10-24 09:00:04 +00:00
|
|
|
### --repo-dir
|
|
|
|
|
|
|
|
| | |
|
|
|
|
| ----------- | ------------------------------------- |
|
|
|
|
| Type | <code>string</code> |
|
|
|
|
| Environment | <code>$CODER_DOTFILES_REPO_DIR</code> |
|
|
|
|
| Default | <code>dotfiles</code> |
|
|
|
|
|
|
|
|
Specifies the directory for the dotfiles repository, relative to global config directory.
|
|
|
|
|
2023-03-23 22:42:20 +00:00
|
|
|
### -y, --yes
|
|
|
|
|
|
|
|
| | |
|
|
|
|
| ---- | ----------------- |
|
|
|
|
| Type | <code>bool</code> |
|
|
|
|
|
|
|
|
Bypass prompts.
|