Skip to main content

Jekyll Blog CLI Tool

Project description

Jekyll CLI

Jekyll Blog CLI Tool.

Usage:

$ blog [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • build: Build jekyll site.
  • config: Configuration Subcommands.
  • draft: Create a draft.
  • info: Show info about post or draft.
  • list: List all posts and drafts.
  • open: Open post or draft in editor.
  • post: Create a post.
  • publish: Publish a draft.
  • remove: Remove a post or draft.
  • serve: Start blog server locally through jekyll.
  • unpublish: Unpublish a post.

blog build

Build jekyll site.

Usage:

$ blog build [OPTIONS]

Options:

  • -d, --draft: Build including drafts.
  • --help: Show this message and exit.

blog config

Configuration Subcommands.

Usage:

$ blog config [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • list: List all configurations.
  • set: Set configurations.

blog config list

List all configurations.

Usage:

$ blog config list [OPTIONS]

Options:

  • --help: Show this message and exit.

blog config set

Set configurations.

Usage:

$ blog config set [OPTIONS]

Options:

  • --mode TEXT: Management mode.
  • --port INTEGER: Listen on the given port. [default: 4000]
  • --help: Show this message and exit.

blog draft

Create a draft.

Usage:

$ blog draft [OPTIONS] NAME

Arguments:

  • NAME: Name of draft item. [required]

Options:

  • -t, --title TEXT: Title of draft.
  • -c, --class TEXT: Categories of draft.
  • -g, --tag TEXT: Tags of draft.
  • -o, --open: Open draft after creation.
  • --help: Show this message and exit.

blog info

Show info about post or draft.

Usage:

$ blog info [OPTIONS] PATTERN

Arguments:

  • PATTERN: Pattern of post or draft name. [required]

Options:

  • --help: Show this message and exit.

blog list

List all posts and drafts.

Usage:

$ blog list [OPTIONS]

Options:

  • -d, --draft: List only all drafts.
  • -p, --post: List only all posts.
  • --help: Show this message and exit.

blog open

Open post or draft in editor.

Usage:

$ blog open [OPTIONS] PATTERN

Arguments:

  • PATTERN: Pattern of post or draft name. [required]

Options:

  • --help: Show this message and exit.

blog post

Create a post.

Usage:

$ blog post [OPTIONS] NAME

Arguments:

  • NAME: Name of post item. [required]

Options:

  • -t, --title TEXT: Title of post.
  • -c, --class TEXT: Categories of post.
  • -g, --tag TEXT: Tags of post.
  • -o, --open: Open post after creation.
  • --help: Show this message and exit.

blog publish

Publish a draft.

Usage:

$ blog publish [OPTIONS] PATTERN

Arguments:

  • PATTERN: Pattern of draft name. [required]

Options:

  • --help: Show this message and exit.

blog remove

Remove a post or draft.

Usage:

$ blog remove [OPTIONS] PATTERN

Arguments:

  • PATTERN: Pattern of post or draft name. [required]

Options:

  • --help: Show this message and exit.

blog serve

Start blog server locally through jekyll.

Usage:

$ blog serve [OPTIONS]

Options:

  • -d, --draft: Start blog server with drafts.
  • --port INTEGER: Listen on the given port. [default: 4000]
  • --help: Show this message and exit.

blog unpublish

Unpublish a post.

Usage:

$ blog unpublish [OPTIONS] PATTERN

Arguments:

  • PATTERN: Pattern of post name. [required]

Options:

  • --help: Show this message and exit.

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

jekyll_cli-1.0.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jekyll_cli-1.0.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file jekyll_cli-1.0.2.tar.gz.

File metadata

  • Download URL: jekyll_cli-1.0.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.7 Windows/10

File hashes

Hashes for jekyll_cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 12f607f15953ac5bccd08fdd29b4067ca71a289c67366514125cb18e787398f2
MD5 8a3ee1c089cc593c781a44d3a9ff338b
BLAKE2b-256 e7d43ac54067800c4f67df11bbae8e9b4b1664157eb583fd7c5096bac0ed5b2a

See more details on using hashes here.

File details

Details for the file jekyll_cli-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: jekyll_cli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.7 Windows/10

File hashes

Hashes for jekyll_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32dc67f5b6b0cee020dc7190f49fbcccc755de45ba12207c1853d394cf25b58d
MD5 df0d45ce9e68b46a54ac0c250a09b085
BLAKE2b-256 d8b317040e1d5082c14318e29e09a58329e999f36a5f3618eb1d4c9b9013e81d

See more details on using hashes here.

Supported by

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