pages
konigle.cli.pages
¶
CLI commands for page operations.
change_handle(ctx, page_id, new_handle, redirect)
¶
Change the handle of a page.
create(ctx, title, name, handle, content, content_file, data_source, folder, author)
¶
Create a new page.
delete(ctx, page_id, yes)
¶
Delete a page.
get(ctx, page_id)
¶
Get a page by ID.
list_pages(ctx, page, page_size, folder, page_type, published)
¶
List pages.
pages()
¶
Page management commands.
publish(ctx, page_id)
¶
Publish a page.
unpublish(ctx, page_id)
¶
Unpublish a page.
update(ctx, page_id, title, name, content, content_file, json_ld, seo)
¶
Update a page.
Note: The data source of a page cannot be changed after creation.