mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #198] refactor: merge bot/cli.ts into bot/index.ts, add serve subcommand #198
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/198
Author: @snomiao
Created: 4/10/2026
Status: 🔄 Open
Base:
main← Head:refactor/merge-bot-cli-into-index📝 Commits (4)
fd3271crefactor: merge bot/cli.ts into bot/index.ts, add serve subcommanda1f7864fix: address review comments on serve subcommanda68b6aedocs: update all references from bot/cli.ts to bot/index.ts serve4714381Merge branch 'main' into refactor/merge-bot-cli-into-index📊 Changes
15 files changed (+1399 additions, -1386 deletions)
View changed files
📝
CLAUDE.md(+5 -5)📝
bot-start.sh(+1 -1)📝
bot/Dockerfile(+1 -1)📝
bot/README.md(+11 -8)➖
bot/cli.ts(+0 -1342)📝
bot/index.ts(+1360 -8)📝
bot/start-with-status.sh(+2 -2)📝
bot/up.sh(+1 -1)📝
docker-compose.yml(+2 -2)📝
docs/RESTART-FLOW.md(+1 -1)📝
docs/RESTART-QUICKREF.md(+6 -6)📝
docs/RESTART-SUMMARY.md(+2 -2)📝
docs/RESTART.md(+2 -2)📝
package.json(+3 -3)📝
run-bot.md(+2 -2)📄 Description
Summary
Consolidates
bot/cli.tsandbot/index.tsinto a singlebot/index.tsentry point.Changes
bot/cli.ts) intobot/index.tsservesubcommand:prbot serve --continuebot/up.sh,bot-start.sh,bot/start-with-status.sh)bot/Dockerfile,docker-compose.yml,package.jsonbin entriesbot/cli.tsUsage
Motivation
Single entry point is simpler — no ambiguity between two bot files. Net +6 lines, no logic changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.