Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsWorkflowCommand ¶
IsWorkflowCommand checks if the command is a workflow command
func SetExecutionContext ¶
func SetExecutionContext(cmd *cobra.Command, args []string, projectRootFlag string, logger *zerolog.Logger) error
SetExecutionContext sets the appropriate execution context for commands It first sets the project context, then if it's a workflow command with exactly one argument, it changes to the specific workflow directory
func SetProjectContext ¶
SetProjectContext sets the current working directory to the project root If projectPath is provided and not empty, it uses that as the project root Otherwise, it finds the project root using FindProjectSettingsPath
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.