Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for shortcm-client, version 0.7.20
Filename, size File type Python version Upload date Hashes
Filename, size shortcm-client-0.7.20.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page