Short.cm commpand line UI
Project description
Short.cm CLI
A command line UI to Short.cm website.
First version only allows to import any CSV files (including YOURLS and Bitly) to Short.cm website.
You can get your secret key in Connected apps & API page.
Installation
pip install shortcm-client
Usage
usage: shortcm [-h] --secret-key SECRET_KEY {csv-import} ...
CSV to Short.cm importer
positional arguments:
{csv-import}
csv-import CSV to Short.cm importer
optional arguments:
-h, --help show this help message and exit
--secret-key SECRET_KEY
Your short.cm secret key
CSV Import:
usage: shortcm csv-import [-h] --filename FILENAME --domain DOMAIN
[--path-column PATH_COLUMN] --original-url-column
ORIGINAL_URL_COLUMN [--title-column TITLE_COLUMN]
[--created-at-column CREATED_AT_COLUMN]
optional arguments:
-h, --help show this help message and exit
--filename FILENAME Filename to import
--domain DOMAIN Short domain
--path-column PATH_COLUMN
Column number (starting from 0) for path
--original-url-column ORIGINAL_URL_COLUMN
Column number (starting from 0) for original URL
--title-column TITLE_COLUMN
Column number (starting from 0) for link title
--created-at-column CREATED_AT_COLUMN
Column number (starting from 0) for link creation date
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
shortcm-client-0.7.21.tar.gz
(4.2 kB
view details)
File details
Details for the file shortcm-client-0.7.21.tar.gz
.
File metadata
- Download URL: shortcm-client-0.7.21.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18f6d5256dc25edad5832aab4d11712ea4f46374604eba7c0bacb15808824b85 |
|
MD5 | 7180158a259993019c629f57af4018bf |
|
BLAKE2b-256 | a087491962c660f869781ea973a89a8bcf08454a4d79404ceec09045d06d1308 |