Enhance CLI command mode for ritmex-bot

- Introduced a new command mode for `ritmex-bot`, allowing agent-friendly structured trading operations without entering the Ink interactive menu.
- Updated `package.json` to include versioning and set the project as public with a new CLI entry point.
- Enhanced documentation in both English and Chinese to provide comprehensive usage instructions for the new command mode.
- Added a new executable script for `ritmex-bot` to facilitate command execution.
- Improved error handling and command parsing for better user experience and clarity in command execution.
This commit is contained in:
discountry
2026-02-27 12:40:41 +08:00
parent d6399b92aa
commit 7fdc3b6c8f
22 changed files with 3319 additions and 53 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
{
"name": "ritmex-bot",
"version": "0.1.0",
"module": "index.ts",
"type": "module",
"private": true,
"private": false,
"bin": {
"ritmex-bot": "./bin/ritmex-bot"
},
"scripts": {
"dev": "bun run index.ts",
"start": "bun run index.ts",