Class: SpecForge::CLI::Init
- Defined in:
- lib/spec_forge/cli/init.rb
Overview
Command for initializing a new SpecForge project structure
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
-
#call ⇒ Object
Creates the "spec_forge", "spec_forge/factories", and "spec_forge/blueprints" directories Also creates the "forge_helper.rb" initialization file.
Methods inherited from Command
aliases, example, #initialize, option, register
Methods included from Actions
Constructor Details
This class inherits a constructor from SpecForge::CLI::Command
Instance Method Details
#call ⇒ Object
Creates the "spec_forge", "spec_forge/factories", and "spec_forge/blueprints" directories Also creates the "forge_helper.rb" initialization file
33 34 35 36 |
# File 'lib/spec_forge/cli/init.rb', line 33 def call initialize_forge initialize_openapi unless .skip_openapi end |