Documentation
¶
Overview ¶
Package forgecmd implements the `forge` subcommand family (add / generate / list / diff / targets) independently of any particular front-end. It writes all human-readable output to an io.Writer so the same logic backs both the `rysh forge` shell CLI and the in-session `##forge` command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run executes a forge subcommand in workDir, writing output to w:
add <name> <spec-file> [flags] ingest a spec + generate artifacts add <name> --graphql-url URL introspect a running GraphQL endpoint add <name> --grpc-target H:P discover a running gRPC server (reflection) generate <name> [flags] re-generate from the stored spec list list configured integrations diff <name> <new-spec-file> operation-level changes vs the stored spec targets list available generator targets
Spec-file paths are resolved relative to workDir when not absolute, so the daemon (`##forge`) and the CLI (`rysh forge`) behave identically.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.