Discover Packages
github.com/bricef/taskflow
internal
cli
package
Version:
v1.0.6
Opens a new window with list of versions in this module.
Published: Apr 1, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package cli generates Cobra commands from the domain operation definitions.
Each operation becomes a CLI command that makes an HTTP call to the TaskFlow server.
BuildCLI generates a Cobra command tree from model.Resources() and model.Operations().
Config is resolved lazily via SetConfig before commands run.
SetConfig sets the active CLI configuration. Called by the root command's
PersistentPreRun after Viper resolves flags, env vars, and config file.
Config holds the CLI configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.