Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
id: config
title: bolt config
---

---

### **`bolt config delete <key>`**

Removes the given `key` from the config.

### **`bolt config list`**

Displays the current configuration.

### **`bolt config get <key>`**

Prints the value for a given `key`.

### **`bolt config set <key> <value> [-g|--global]`**

Sets the config `key` to the given `value`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also add information that this will update yarn config

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it makes sense to add it to all of them?

IMO, it is understandable and not needed. Just like what yarn does :)

4 changes: 3 additions & 1 deletion website/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"bolt": "bolt",
"build": "bolt build",
"check": "bolt check",
"config": "bolt config",
"doc": "bolt doc",
"format": "bolt format",
"init": "bolt init",
Expand All @@ -33,7 +34,8 @@
"About": "About",
"Commands": "Commands",
"Blog": "Blog",
"workspace": "workspace"
"workspace": "workspace",
"configuration": "configuration"
},
"pages-strings": {
"Help Translate|recruit community translators for your project": "Help Translate",
Expand Down
3 changes: 3 additions & 0 deletions website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
"workspace-run",
"workspace-exec",
"workspace-upgrade"
],
"configuration": [
"config"
]
}
}