Skip to content

Conversation

@NeoIsRecursive
Copy link
Collaborator

@NeoIsRecursive NeoIsRecursive commented Jun 10, 2024

This PR changes the console ui by using laravel/prompts (since it's used by statamic - it (in theory) should be a more seamless experience).

Also changed the restore command signature to be a bit more easy to use.

// prev
php artisan statamic:backup:restore "/my/path"

// new
// will display a select with the same backups as in cp
php artisan statamic:backup:restore

// with optional flag for path and force
php artisan statamic:backup:restore --path="/my/path"

Hopefully this makes it more pleasant to use the console commands.

TODO

  • Clear command should probably be renamed
  • Descriptions for the commands should be improved
  • Figure out if we should keep the statamic "namespace"?

@NeoIsRecursive NeoIsRecursive marked this pull request as draft November 11, 2024 15:35
@NeoIsRecursive NeoIsRecursive marked this pull request as ready for review November 18, 2024 13:53
@NeoIsRecursive NeoIsRecursive merged commit a48b5a7 into main Nov 18, 2024
4 checks passed
@NeoIsRecursive NeoIsRecursive deleted the feature/improve-commands branch November 18, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants