~mjorgensen/CapitalPins

Rename Pinboard tags
Remove github bullshit
Change python version dependency

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~mjorgensen/CapitalPins
read/write
git@git.sr.ht:~mjorgensen/CapitalPins

You can also use your local clone with git send-email.

#CapitalPins

A small utility to rename Pinboard tags.

#Requirements

  • pipenv
  • Python >= 3
  • Pinboard>=2.0
  • PyYAML

Install dependencies with:

pipenv install

#Usage

usage: run.py [-h] [--dry-run] [-U] old_name [new_name]

Capitalize Pinboard tags.

positional arguments:
  old_name
  new_name

optional arguments:
  -h, --help   show this help message and exit
  --dry-run    Perform a dry run, doesn't change anything.
  -U, --upper  Renames the tag to an UPPERCASE string.

#Examples

pipenv run python run.py tag_name

The new tag name would be Tag_name.

pipenv run python run.py -U tag_name

The new tag name would be TAG_NAME.

pipenv run python run.py old_tag new_tag

This would rename old_tag to new_tag. Useful for those pesky edge cases.