MCPcopy Index your code
hub / github.com/github/spec-kit / _register_builtin_steps

Function _register_builtin_steps

src/specify_cli/workflows/__init__.py:45–69  ·  view source on GitHub ↗

Register all built-in step types.

()

Source from the content-addressed store, hash-verified

43# -- Register built-in step types ----------------------------------------
44
45def _register_builtin_steps() -> None:
46 """Register all built-in step types."""
47 from .steps.command import CommandStep
48 from .steps.do_while import DoWhileStep
49 from .steps.fan_in import FanInStep
50 from .steps.fan_out import FanOutStep
51 from .steps.gate import GateStep
52 from .steps.if_then import IfThenStep
53 from .steps.init import InitStep
54 from .steps.prompt import PromptStep
55 from .steps.shell import ShellStep
56 from .steps.switch import SwitchStep
57 from .steps.while_loop import WhileStep
58
59 _register_step(CommandStep())
60 _register_step(DoWhileStep())
61 _register_step(FanInStep())
62 _register_step(FanOutStep())
63 _register_step(GateStep())
64 _register_step(IfThenStep())
65 _register_step(InitStep())
66 _register_step(PromptStep())
67 _register_step(ShellStep())
68 _register_step(SwitchStep())
69 _register_step(WhileStep())
70
71
72_register_builtin_steps()

Callers 1

__init__.pyFile · 0.85

Calls 12

_register_stepFunction · 0.85
CommandStepClass · 0.85
DoWhileStepClass · 0.85
FanInStepClass · 0.85
FanOutStepClass · 0.85
GateStepClass · 0.85
IfThenStepClass · 0.85
InitStepClass · 0.85
PromptStepClass · 0.85
ShellStepClass · 0.85
SwitchStepClass · 0.85
WhileStepClass · 0.85

Tested by

no test coverage detected