Class: Rwm::Commands::Bootstrap
- Inherits:
-
Object
- Object
- Rwm::Commands::Bootstrap
- Defined in:
- lib/rwm/commands/bootstrap.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Bootstrap
constructor
A new instance of Bootstrap.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Bootstrap
Returns a new instance of Bootstrap.
6 7 8 |
# File 'lib/rwm/commands/bootstrap.rb', line 6 def initialize(argv) @argv = argv end |
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/rwm/commands/bootstrap.rb', line 10 def run workspace = Workspace.find bootstrap_root(workspace) setup_hooks(workspace) graph = DependencyGraph.build(workspace) bootstrap_packages(workspace, graph) save_graph(workspace, graph) validate_conventions(workspace, graph) update_vscode_workspace(workspace) puts puts "Bootstrap complete!" 0 end |