Skip to content
github-actions edited this page Jan 4, 2024 · 1 revision

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.

Commands

Database

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]

Links

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

Pages

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

Posts

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

Tags

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

Users

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

Settings

List the system settings.

php aurora settings:list

Set the value of a system setting.

php aurora settings:set [name] [value]

Update

Update Aurora to the latest compatible version.

php aurora update
Clone this wiki locally