CLI tool for syncing Rebrandly shortlinks from a spreadsheet.
This command-line tool takes data from a spreadsheet, and uses it to create/update shortlinks managed on Rebrandly. (For examples, see "Data Sources", under Supported Platforms below.)
- Link Shorteners
- Rebrandly
- Data Sources
For full usage instructions:
# Don't forget to prefix with `pipenv run` if using pipenv!
$ spreadsheet2shortlinks --help
- Python.
- Click.
$ pip install git+https://github.com/hyphacoop/spreadsheet2shortlinks#egg=spreadsheet2shortlinks
You may also choose to use pipenv, if you have it installed. It allows for better isolation of Python projects.
# To use `pipenv` and an isolated project environment via `pipenv run`:
$ pipenv install --editable git+https://github.com/hyphacoop/spreadsheet2shortlinks#egg=spreadsheet2shortlinks
$ pipenv run spreadsheet2shortlinks --help
# You can set config via a dot-env file
$ cp sample.env .env
$ cd path/to/spreadsheet2shortlinks
$ git submodule update --init
$ pipenv install