Skip to main content

Tag updater for Ghost

Project description

# ghost-tag-updater
A Python script to list, update, and delete your Ghost blog's tags.

# Install

$ pip install ghosttag

# Usage

Warning: Make a backup of your database first! You can do it like so:

$ cp ghost-dev.db ghost-dev.db.bak

list [--db-path=<path>]

Lists all the ghost tags in your database

update [--db-path=<path>] [--id=<tag-id>] [--name=<tag-name>] [--slug=<slug-name>]

Update the name or slug of a tag. Id is mandatory (you can find it by using the list command). You can define the name, slug, or both.

delete [--db-path=<path>] [--id=<tag-id>]

Deletes the specific tag.

# Requirements

* docopt: Creates beautiful command line interfaces easily.
* tabulate: Pretty-print tabular data

# Contributing

Feel free to make your own PR

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ghosttag, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ghosttag-0.0.1-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size ghosttag-0.0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page