mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
reactor(cli): move memoh cli to tui
1. Split the oversized `cmd/agent` entrypoint into a multi-file package and update dev/build scripts to use the package path instead of compiling `main.go` directly. 2. Add a new `memoh` terminal UI for local bot chat, with Bubble Tea
This commit is contained in:
+1
-1
@@ -11,4 +11,4 @@ if [ "$confirmation" != "yes" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
go run "${PROJECT_ROOT}/cmd/agent/main.go" migrate down
|
||||
go run "${PROJECT_ROOT}/cmd/agent" migrate down
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ set -e
|
||||
|
||||
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
|
||||
go run "${PROJECT_ROOT}/cmd/agent/main.go" migrate up
|
||||
go run "${PROJECT_ROOT}/cmd/agent" migrate up
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
çç#!/usr/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
@@ -23,8 +23,8 @@ Usage: scripts/release.sh [options]
|
||||
Options:
|
||||
--os <os> Target OS (default: current GOOS)
|
||||
--arch <arch> Target ARCH (default: current GOARCH)
|
||||
--version <version> Version string injected into memoh binary
|
||||
--commit-hash <sha> Commit hash injected into memoh binary
|
||||
--version <version> Version string injected into the memoh CLI
|
||||
--commit-hash <sha> Commit hash injected into the memoh CLI
|
||||
--output-dir <dir> Output directory for release artifacts
|
||||
--prepare-assets Only prepare embedded assets, do not build archive
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user