Skip to main content
Glama

mcp-onedev

by robinshine
MIT License
2
  • Apple
  • Linux
check_build_spec_command.go611 B
package main import ( "fmt" "log" "os" "github.com/spf13/cobra" ) type CheckBuildSpecCommand struct { } func (command CheckBuildSpecCommand) Execute(cobraCmd *cobra.Command, args []string, logger *log.Logger) { // Get working directory flag workingDir, _ := cobraCmd.Flags().GetString("working-dir") if workingDir == "" { workingDir = "." } fmt.Println("Checking build spec...") // Check the build spec err := checkBuildSpec(workingDir, logger) if err != nil { fmt.Fprintln(os.Stderr, "Failed to check build spec:", err) os.Exit(1) } fmt.Println("Build spec checked successfully.") }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/robinshine/mcp-onedev'

If you have feedback or need assistance with the MCP directory API, please join our Discord server