krang_unpublish - command-line un-publishing utility for Krang.
Un-Publish all assets for a given category, specified by category_id
$ krang_unpublish --category_id 10
Un-Publish a specific story
$ krang_unpublish --story_id 10
Un-Publish a specific media object
$ krang_unpublish --media_id 15
This script provides a command-line tool for un-publishing content in Krang. Un-publishing a story means the published story is removed from the filesystem and the story's publish flag is set to false.
Un-Publish all content (stories and media) under the category specified by the category_id.
Using the --category_id flag will cause krang_publish to ignore the --story_id and --media_id options.
Un-Publishes the story with the story_id. Supports multiple --story_id arguments, or a single --story_id argument with a comma-separated list of IDs to publish more than one story.
Un-Publish a single media object, specified by its media_id.
Increases the level of output to STDOUT to give a more in-depth explanation of what is going on.