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

ablog_cli description

Project description

ablog_cli

ablog-cli is a command for managing a website ablog.

ablog-cli use ablog-api (https://github.com/fraoustin/ablog_api)

Installation

pip install ablog_cli

Or

git clone https://github.com/fraoustin/ablog_cli.git
cd ablog_cli
python setup.py install

Usage

ablog-cli has a list of verb:

  • authors : post list of author or list of author
  • build : load build of ablog
  • cat : display post on the screen
  • categorys : post list of category or list of category
  • clean : load clean of ablog
  • edit : edit post in with EDITOR variable
  • vi : edit post in with EDITOR variable
  • ls : list of post
  • new : edit new post in with EDITOR variable
  • rm : delete post for ablog site
  • tags : post list of tag or list of tag
  • upload : upload file in ablog site
  • version : get version of ablog

for sample

ablog-cli -H http://myablogsite/api -u guest -p guest ls

You can managing parameters of ablog-cli by ~/.ablog-cli/conf.py file or the environment variables starting with ABLOG_CLI

ablog-cli use parameter command before environment variables before conf.py

list of parameters (and environment variables)

  • ABLOG_CLI_EDITOR
  • ABLOG_CLI_URL
  • ABLOG_CLI_USER
  • ABLOG_CLI_PASSWORD
  • ABLOG_CLI_NOHEADER
  • ABLOG_CLI_DEEP
  • ABLOG_CLI_ALL
  • ABLOG_CLI_VERSION_COLS
  • ABLOG_CLI_VERSION_ORDERBY
  • ABLOG_CLI_LS_COLS
  • ABLOG_CLI_LS_ORDERBY
  • ABLOG_CLI_TAGS_COLS
  • ABLOG_CLI_TAGS_ORDERBY
  • ABLOG_CLI_CATEGORYS_COLS
  • ABLOG_CLI_CATEGORYS_ORDERBY
  • ABLOG_CLI_AUTHORS_COLS
  • ABLOG_CLI_AUTHORS_ORDERBY
  • ABLOG_CLI_TEMPLATE_POST
  • ABLOG_CLI_FMTTIME

V. 1.0.6

change template in edit, if docname is None then load new

V. 1.0.5

add color in print

V. 1.0.4

correcion on client, notion of parser from myterm

V. 1.0.3

correcion on client

V. 1.0.2

Use class Config from myterm

V. 1.0.1

Use class Table from myterm

V. 1.0.0

add color

V. 0.9.3

correction of date

V. 0.9.2

change date format and error

V. 0.9.1

editor depending platform

V. 0.9.0

add verb reload and conf

V. 0.8.0

correction of verb new

V. 0.7.0

add python version

V. 0.6.0

change edit and cat: get data by upload

V. 0.5.0

change edit and new, send data by data

V. 0.4.0

correction of import parser

V. 0.3.0

correction of import parser

V. 0.1.0

First version with verb:

  • authors : post list of author or list of author
  • build : load build of ablog
  • cat : display post on the screen
  • categorys : post list of category or list of category
  • clean : load clean of ablog
  • edit : edit post in with EDITOR variable
  • vi : edit post in with EDITOR variable
  • ls : list of post
  • new : edit new post in with EDITOR variable
  • rm : delete post for ablog site
  • tags : post list of tag or list of tag
  • upload : upload file in ablog site
  • version : get version of ablog

V. 0.0.1

  • init

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 ablog_cli, version 1.0.7
Filename, size File type Python version Upload date Hashes
Filename, size ablog_cli-1.0.7.tar.gz (15.4 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