Class: Kitsune::Kit::Commands::Init
- Inherits:
-
Thor
- Object
- Thor
- Kitsune::Kit::Commands::Init
- Defined in:
- lib/kitsune/kit/commands/init.rb
Instance Method Summary collapse
Instance Method Details
#init ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/kitsune/kit/commands/init.rb', line 13 def init say "✨ Initializing Kitsune project...", :green create_base_structure selected_envs = select_environments copy_env_templates(selected_envs) selected_default_env = select_default_environment(selected_envs) create_kit_env(selected_default_env) copy_docker_templates say "🎉 Done! '.kitsune/' structure is ready.", :green end |