Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit a360038

Browse files
committed
Automatically import users on no-interaction
1 parent 01821b1 commit a360038

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Commands/Import.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ public function handle()
8181
$this->display($users);
8282
}
8383

84-
if ($this->confirm('Would you like these users to be imported / synchronized?')) {
84+
if ($this->confirm('Would you like these users to be imported / synchronized?', $default = true)) {
8585
$imported = $this->import($users);
8686

87-
$this->info("\nSuccessfully imported / synchronized {$imported} user(s).");
87+
$this->info("Successfully imported / synchronized {$imported} user(s).");
8888
} else {
89-
$this->info('Okay, no users were imported / synchronized.');
89+
$this->info("Okay, no users were imported / synchronized.");
9090
}
9191
}
9292

0 commit comments

Comments
 (0)