-
Notifications
You must be signed in to change notification settings - Fork 0
CLI
The CLI allows you to manage all of your website right from your terminal.
It has all of the features available in the admin interface, you can create backups, manage users, edit settings, create and edit posts and much more.
The only limitation the CLI has in comparison to the admin interface, is that the body of posts and pages cannot be edited.
Create a backup of the database in a json file.
php aurora db:backup [file_path]
Restore the database from a json file.
php aurora db:restore [file_path]
Create a new link.
php aurora links:create
Delete a link.
php aurora links:delete [id_or_slug]
Edit a link.
php aurora links:edit [id_or_slug]
List the links.
php aurora links:list
Create a new page.
php aurora pages:create
Delete a page.
php aurora pages:delete [id_or_slug]
Edit a page.
php aurora pages:edit [id_or_slug]
List the pages.
php aurora pages:list
Create a new post.
php aurora posts:create
Delete a post.
php aurora posts:delete [id_or_slug]
Edit a post.
php aurora posts:edit [id_or_slug]
List the posts.
php aurora posts:list
Create a new tag.
php aurora tags:create
Delete a tag.
php aurora tags:delete [id_or_slug]
Edit a tag.
php aurora tags:edit [id_or_slug]
List the tags.
php aurora tags:list
Create a new user.
php aurora users:create
Delete a user.
php aurora users:delete [id_or_slug]
Edit a user.
php aurora users:edit [id_or_slug]
List the users.
php aurora users:list
List the system settings.
php aurora settings:list
Set the value of a system setting.
php aurora settings:set [name] [value]
Update Aurora to the latest compatible version.
php aurora update