| 385 | |
| 386 | |
| 387 | class ListWorkflowsCommand(Command): |
| 388 | name = "list-workflows" |
| 389 | help = "list workflows in the composition" |
| 390 | |
| 391 | def run(self, args: argparse.Namespace) -> None: |
| 392 | composition = load_composition(args, munge_services=False) |
| 393 | for name in sorted(composition.workflows): |
| 394 | print(name) |
| 395 | |
| 396 | |
| 397 | class DescribeCommand(Command): |