@@ 49-55 (lines=7) @@ | ||
46 | } |
|
47 | ||
48 | // confirm |
|
49 | if (!$this->option('force')) { |
|
50 | if (!$this->confirm('Are you sure? [y/N]', false)) { |
|
51 | $this->comment('canceled'); |
|
52 | ||
53 | return; |
|
54 | } |
|
55 | } |
|
56 | ||
57 | // process |
|
58 | $filesystem->deleteDirectory($env->path($addonName)); |
@@ 125-128 (lines=4) @@ | ||
122 | $this->line('Skeleton: '.$skeleton); |
|
123 | $this->line('Languages: '.implode(', ', $properties['languages'])); |
|
124 | ||
125 | if (!$this->option('yes') && !$this->confirm('generate ready? [Y/n]', true)) { |
|
126 | $this->comment('canceled'); |
|
127 | return; |
|
128 | } |
|
129 | ||
130 | try { |
|
131 | $generator->generateAddon($output_path, str_replace(':', '-', $skeleton), $properties); |