2026-08-11 11:22:55 -04:00
|
|
|
---
|
|
|
|
|
# Code generated by make gen. DO NOT EDIT.
|
|
|
|
|
title: dotfiles
|
|
|
|
|
description: Personalize your workspace by applying a canonical dotfiles repository
|
|
|
|
|
---
|
|
|
|
|
|
2023-03-23 17:42:20 -05:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
|
|
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 17:28:22 -04:00
|
|
|
$ coder dotfiles --yes git@github.com:example/dotfiles.git
|
2023-03-23 17:42:20 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
2024-03-15 11:24:38 -05:00
|
|
|
### --symlink-dir
|
|
|
|
|
|
|
|
|
|
| | |
|
2025-01-03 18:12:59 +05:00
|
|
|
|-------------|---------------------------------|
|
2024-03-15 11:24:38 -05:00
|
|
|
| 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 16:24:04 -04:00
|
|
|
### -b, --branch
|
|
|
|
|
|
|
|
|
|
| | |
|
2025-01-03 18:12:59 +05:00
|
|
|
|------|---------------------|
|
2023-07-06 16:24:04 -04:00
|
|
|
| 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 20:00:04 +11:00
|
|
|
### --repo-dir
|
|
|
|
|
|
|
|
|
|
| | |
|
2025-01-03 18:12:59 +05:00
|
|
|
|-------------|---------------------------------------|
|
2023-10-24 20:00:04 +11:00
|
|
|
| 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 17:42:20 -05:00
|
|
|
### -y, --yes
|
|
|
|
|
|
|
|
|
|
| | |
|
2025-01-03 18:12:59 +05:00
|
|
|
|------|-------------------|
|
2023-03-23 17:42:20 -05:00
|
|
|
| Type | <code>bool</code> |
|
|
|
|
|
|
2026-01-16 18:04:57 -08:00
|
|
|
Bypass confirmation prompts.
|