Skip to main content

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.

Source Distribution

shortcm-client-0.7.8.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page