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.

Source Distribution

ghosttag-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghosttag-0.0.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ghosttag-0.0.1.tar.gz.

File metadata

  • Download URL: ghosttag-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ghosttag-0.0.1.tar.gz
Algorithm Hash digest
SHA256 031f030d64144a1785ae55c63b0ca74b2c67ba19fa516b547577f0d3988264e4
MD5 a463ed3909a97aa70949072616bbb8f7
BLAKE2b-256 9f5c3456f54f23216a8a3ff3c110028cb44e28ee2854cd5fc2617335f1ce98ef

See more details on using hashes here.

File details

Details for the file ghosttag-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ghosttag-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 474d041655b1cb3d935baa29dcb2f89c1c0210041926f78ea05f090a39db4f71
MD5 d7bd1313d86e0b28db1812f2dac99a85
BLAKE2b-256 3ff1a1e03712828cfd292caf46b1f04ee195931cacd8e36034faa0b1308ae699

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page