提交 a7f59805 编写于 作者: S spacewander 提交者: Derek Parker

Documentation/cli: Add the configuration and command history file

Close #1714.
上级 d2be7914
# Configuration
Delve can be configured via the configuration file located in `$HOME/.config/dlv/config.yml`.
You can open the file and discover all the configurable options and their default value.
# History
The command history of delve debugger is stored in `$HOME/.config/dlv/.dbg_history`.
# Commands # Commands
Command | Description Command | Description
......
...@@ -27,6 +27,13 @@ func replaceDocPath(s string) string { ...@@ -27,6 +27,13 @@ func replaceDocPath(s string) string {
} }
func (commands *Commands) WriteMarkdown(w io.Writer) { func (commands *Commands) WriteMarkdown(w io.Writer) {
fmt.Fprint(w, "# Configuration\n\n")
fmt.Fprint(w, "Delve can be configured via the configuration file located in `$HOME/.config/dlv/config.yml`.\n")
fmt.Fprint(w, "You can open the file and discover all the configurable options and their default value.\n\n")
fmt.Fprint(w, "# History\n\n")
fmt.Fprint(w, "The command history of delve debugger is stored in `$HOME/.config/dlv/.dbg_history`.\n\n")
fmt.Fprint(w, "# Commands\n\n") fmt.Fprint(w, "# Commands\n\n")
fmt.Fprint(w, "Command | Description\n") fmt.Fprint(w, "Command | Description\n")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册