Files
drip/cmd/drip/main.go
Gouryella dd54e79ad7 perf (client): Refactored the command-line interface and enhanced user experience
- Optimized terminal output style and configuration management using libraries such as `lipgloss` and `go-json`

- Introduced the `ui` package to unify the display logic of colors, tables, and prompts

- Updated the README document structure and installation script links to improve readability and internationalization support

- Improved the interaction flow and log display effects of the daemon startup and attach commands

- Fixed some command parameter parsing issues, improving program robustness and user onboarding experience
2025-12-03 10:18:52 +08:00

24 lines
306 B
Go

package main
import (
"fmt"
"os"
"drip/internal/client/cli"
)
var (
Version = "dev"
GitCommit = "unknown"
BuildTime = "unknown"
)
func main() {
cli.SetVersion(Version, GitCommit, BuildTime)
if err := cli.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
}