mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-17 05:59:42 +02:00
feat(cli): add CLI application with automatic command generation from swagger
Add a new CLI application (`cmd/cli/`) that generates command-line interface commands from the API swagger specification. Includes: - Main CLI entry point with command parsing and execution - Code generator that reads swagger.json and generates typed command handlers - Makefile targets (`gen-cli`, `build-cli`) for generating and building the CLI - GitHub Actions workflow to build cross-platform CLI binaries (linux/amd64, linux/arm64)
This commit is contained in:
10
cmd/cli/go.mod
Normal file
10
cmd/cli/go.mod
Normal file
@@ -0,0 +1,10 @@
|
||||
module github.com/yusing/godoxy/cli
|
||||
|
||||
go 1.26.0
|
||||
|
||||
require (
|
||||
github.com/gorilla/websocket v1.5.3
|
||||
github.com/yusing/goutils v0.7.0
|
||||
)
|
||||
|
||||
replace github.com/yusing/goutils => ../../goutils
|
||||
Reference in New Issue
Block a user