flowforge version
flowforge version prints the version string compiled into the FlowForge Go binary. It performs no network or filesystem I/O — the value is embedded at build time and reported back as-is.
Synopsis
Section titled “Synopsis”flowforge versionThe command takes no arguments and no flags.
Description
Section titled “Description”The binary carries a default version of 1.0.0. The version string can be overridden at build time by linker flags, which is how release builds tag themselves with the official semver:
go build -ldflags "-X main.Version=1.1.0" ./cmd/flowforge/Use flowforge version to confirm which build of the binary is on PATH, especially when multiple versions are installed in parallel (for example, a release build in /usr/local/bin and a development build in a project-local directory).
The slash-command surface has its own equivalent: /flowforge:version:check reports the FlowForge framework version and changelog. The two surfaces report different versions: this subcommand reports the Go binary version, while the slash command reports the framework version captured in .flowforge/.
Arguments
Section titled “Arguments”None.
Options
Section titled “Options”None.
Environment variables
Section titled “Environment variables”None.
Examples
Section titled “Examples”Print the embedded version:
$ flowforge versionflowforge 1.0.0Build a binary with a custom version and verify:
go build -ldflags "-X main.Version=1.0.0-rc.2" -o /tmp/ff ./cmd/flowforge//tmp/ff version# flowforge 1.0.0-rc.2Confirm the binary on PATH:
which flowforge && flowforge versionExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 | Always. The command has no failure mode beyond Go runtime errors that would prevent any Cobra command from running. |
Related commands
Section titled “Related commands”/flowforge:version:check— slash command for the FlowForge framework version, distinct from the Go binary version./flowforge:version:update— check for FlowForge framework updates.flowforge run— execute slash commands from the binary.