Class DescribeCLI
java.lang.Object
com.scivicslab.actoriac.cli.DescribeCLI
CLI subcommand for displaying workflow descriptions.
Usage examples:
# Show workflow description only actor-iac describe -w sysinfo/main-collect-sysinfo.yaml # Show workflow description with step descriptions actor-iac describe -w sysinfo/main-collect-sysinfo.yaml --steps # With overlay actor-iac describe -w sysinfo/main-collect-sysinfo.yaml -o ./overlays/env --steps
- Since:
- 2.10.0
- Author:
- devteam@scivicslab.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()loadYamlFile(File file) Loads a YAML file.loadYamlWithOverlay(File workflowFile) Loads a YAML file with overlay applied.private voidprintWorkflowDescription(File file, Map<String, Object> yaml) Prints workflow description.private FileresolveWorkflowFile(File file) Resolves the workflow file, trying extensions if the file doesn't exist.
-
Field Details
-
baseDir
-
workflowPath
-
overlayDir
-
showSteps
-
-
Constructor Details
-
DescribeCLI
public DescribeCLI()
-
-
Method Details
-
call
-
resolveWorkflowFile
Resolves the workflow file, trying extensions if the file doesn't exist. -
printWorkflowDescription
Prints workflow description. -
loadYamlFile
Loads a YAML file. -
loadYamlWithOverlay
Loads a YAML file with overlay applied.
-