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
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for ghosttag-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 474d041655b1cb3d935baa29dcb2f89c1c0210041926f78ea05f090a39db4f71 |
|
MD5 | d7bd1313d86e0b28db1812f2dac99a85 |
|
BLAKE2b-256 | 3ff1a1e03712828cfd292caf46b1f04ee195931cacd8e36034faa0b1308ae699 |