Skip to content

blogs

konigle.cli.blogs

CLI commands for blog operations.

blogs()

Blog management commands.

change_handle(ctx, blog_id, new_handle, redirect)

Change the handle of a blog post.

create(ctx, title, name, handle, content, content_file, summary, folder, author)

Create a new blog post.

delete(ctx, blog_id, yes)

Delete a blog post.

get(ctx, blog_id)

Get a blog post by ID.

list_blogs(ctx, page, page_size, folder, published, unpublished, handle)

List blog posts.

publish(ctx, blog_id)

Publish a blog post.

unpublish(ctx, blog_id)

Unpublish a blog post.

update(ctx, blog_id, title, name, content, content_file, summary, json_ld, seo)

Update a blog post.