Files
Alessandro ScandoneandGitHub 5dfc34cd3c feat: feature flag syntax (#120)
* feat: feature flag syntax

* feat: change syntax

* feat: reject invalid features

* feat: add static check of unknown features

* feat: more defensive args handling

* fix: fix typo
2026-03-04 13:32:35 +00:00

23 lines
391 B
Go

package cmd
import (
"github.com/formancehq/numscript/internal/mcp_impl"
"github.com/spf13/cobra"
)
var mcpCmd = &cobra.Command{
Use: "mcp",
Short: "Run the mcp server",
Hidden: true,
RunE: func(cmd *cobra.Command, args []string) error {
err := mcp_impl.RunServer()
if err != nil {
cmd.SilenceErrors = true
cmd.SilenceUsage = true
return err
}
return nil
},
}