Skip to content

OhMyOpenCode Toggle Tool is a simple command-line utility for toggling the OhMyOpenCode plugin between enabled and disabled states.

License

Notifications You must be signed in to change notification settings

huchi996/oh-my-opencode-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub 发布说明

Release v1.0.0 说明

🎉 首次发布

OhMyOpenCode Toggle Tool 是一个简单的命令行工具,用于在 OhMyOpenCode 插件的启用和禁用状态之间切换。

✨ 特性

  • 🔄 简单的命令行开关(omo on/off/status
  • ⚡ 即时状态检查
  • 🗂️ 清晰的目录结构
  • 💻 跨平台支持(Windows 批处理 + Node.js)
  • 📦 自动安装脚本

🚀 安装方法

方法1: 手动安装

  1. 下载项目文件
  2. 运行 install.bat
  3. 在 OpenCode 配置目录中使用 omo 命令

方法2: 直接复制

  1. omo-toggle/ 目录复制到你的 OpenCode 配置目录
  2. omo.bat 复制到配置目录根目录
  3. 使用命令行工具

📖 使用说明

# 查看当前状态
omo status

# 启用 OhMyOpenCode
omo on

# 禁用 OhMyOpenCode
omo off

⚠️ 注意事项

  • 需要重启 OpenCode 才能使更改生效
  • 需要安装 Node.js
  • 需要有修改配置文件的权限

🤝 贡献

欢迎提交 Issue 和 Pull Request!


项目结构

oh-my-opencode-toggle/
├── README.md                 # 项目说明
├── LICENSE                   # MIT 许可证
├── .gitignore               # Git 忽略文件
├── package.json             # Node.js 包配置
├── config.example.json      # 示例配置文件
├── install.bat              # Windows 安装脚本
├── omo.bat                  # 根目录快捷方式
└── omo-toggle/              # 工具目录
    ├── omo-toggle.js        # Node.js 核心脚本
    ├── omo.bat             # 本地批处理脚本
    └── README.md           # 工具详细说明

About

OhMyOpenCode Toggle Tool is a simple command-line utility for toggling the OhMyOpenCode plugin between enabled and disabled states.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published