Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/improve commands #30

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

NeoIsRecursive
Copy link
Collaborator

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"?

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.

1 participant