Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f8219f0
require prompts
jasonvarga Aug 4, 2023
a67c889
wip
jasonvarga Aug 4, 2023
9dcc4ef
hot pink
jasonvarga Aug 4, 2023
3ef198a
get starter kits from statamic.com
jasonvarga Aug 11, 2023
6261570
format the suggestions a bit nicer
jasonvarga Aug 11, 2023
111014f
prompt starring
jasonvarga Aug 11, 2023
47e14da
prompt making user
jasonvarga Aug 11, 2023
ec0ecb4
prompt entering license key
jasonvarga Aug 11, 2023
b03109f
prompt single site license installation
jasonvarga Aug 11, 2023
f036a5b
remove whitespace after composer install
jasonvarga Aug 11, 2023
8f41edb
Create a super is now default
jackmcdade Aug 11, 2023
72bd5d8
New ASCII art
jackmcdade Aug 11, 2023
3cce035
Slightly tweak HotPink for contrast, also use Teal
jackmcdade Aug 11, 2023
c65d047
Go teal here too
jackmcdade Aug 11, 2023
223ef19
👋 💖
jackmcdade Aug 11, 2023
52104d2
Ask to make user ahead of time
jasonvarga Aug 11, 2023
e29c972
Ask to spread joy earlier, and open the browser while composer runs. …
jasonvarga Aug 11, 2023
a6abc27
use package
jasonvarga Aug 11, 2023
ac315ba
adjust output
jasonvarga Aug 11, 2023
13f9ad2
add initialize and interact methods, and add name text field when mis…
jasonvarga Aug 14, 2023
b0893e9
fallback
jasonvarga Aug 14, 2023
35f5e95
wip
jasonvarga Aug 14, 2023
15d55e7
wip
jasonvarga Aug 14, 2023
0a6b576
push to the right a couple of spaces to line up with prompts
jasonvarga Aug 14, 2023
533d846
space
jasonvarga Aug 14, 2023
fe06da2
put user creation back to no as the default
jasonvarga Aug 14, 2023
870e12e
output a line when you dont choose to star
jasonvarga Aug 14, 2023
9612689
nah
jasonvarga Aug 14, 2023
932d1ba
words
jasonvarga Aug 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
prompt making user
  • Loading branch information
jasonvarga committed Aug 11, 2023
commit 47e14da29a6311774a8dae82155330d04fd08c08
8 changes: 1 addition & 7 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,7 @@ protected function makeSuperUser()
return $this;
}

$questionText = 'Create a super user? (yes/no) [<comment>no</comment>]: ';
$helper = $this->getHelper('question');
$question = new ConfirmationQuestion($questionText, false);

$this->output->write(PHP_EOL);

if (! $helper->ask($this->input, $this->output, $question)) {
if (! confirm('Create a super user?', false)) {
return $this;
}

Expand Down