Skip to content

mpdt config open

在编辑器中打开 MPDT 配置文件。

用法

bash
mpdt config open

功能

使用配置的编辑器打开 config.toml 文件,方便直接编辑。

示例

bash
mpdt config open

会在配置的编辑器(如 VS Code)中打开:

~/.config/mpdt/config.toml

编辑器优先级

  1. 配置文件中的 editor.command
  2. 环境变量 EDITOR
  3. 系统默认编辑器

配置文件格式

toml
# Neo-MoFox 配置
[mofox]
path = "/path/to/Neo-MoFox"

# GitHub 配置
[github]
token = "ghp_xxxxxxxxxxxxx"

# 编辑器配置
[editor]
command = "code"

相关命令

贡献者

The avatar of contributor named as micraft1024a micraft1024a

页面历史

Released under the GPL-3.0 License.

新对话
MoFox 助手

下午好。

今天想做点什么?

聊天内容可能会被记录以用于改进服务及其质量,并会遵循我们的隐私政策进行处理。