Skip to main content

Frontmatter CLI tool to make working with frontmatter easier.

Project description

frontmatter-cli

This is a very early WIP project. My goal is to make working with Frontmatter a little nicer from the command line. The API is going to change, and I plan on adding some other features to make editing Frontmatter easier too.

Install

$ python -m pip install frontmatter-cli

Usage

$ frontmatter-cli --help
Usage: frontmatter-cli [OPTIONS] [EXTRA_CONTEXT]... [INPUT] [OUTPUT]

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  main*

## Echo'ing text as Frontmatter
$ echo "Hello World!" | frontmatter-cli --title="My New Blog Post" - -
---
title: My New Blog Post
---

Hello World!

Contributing

PRs are welcome at https://github.com/jefftriplett/frontmatter-cli.

Linting should be verified by running just lint. There are currently no tests, so just test is expected to fail.

In addition to the development supporting packages that will be installed by just, you may need to install the following:

Contact / Social Media

Here are a few ways to keep up with me online. If you have a question about this project, please consider opening a GitHub Issue.

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

frontmatter-cli-2023.7.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

frontmatter_cli-2023.7.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file frontmatter-cli-2023.7.3.tar.gz.

File metadata

  • Download URL: frontmatter-cli-2023.7.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for frontmatter-cli-2023.7.3.tar.gz
Algorithm Hash digest
SHA256 44b1ec24f19b512fa2633a1e9076aa0154ca088cadd4ea7f8d3788c26c2c17a6
MD5 29e96108cd4b9da8c0464f84c7758fc2
BLAKE2b-256 fbf8ea920ef82a21f422102b2372979fc0a3204838fb29f869443e77e439e24d

See more details on using hashes here.

File details

Details for the file frontmatter_cli-2023.7.3-py3-none-any.whl.

File metadata

File hashes

Hashes for frontmatter_cli-2023.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 12f7cb5ca16e2cbcc106d89eeb09b5bc23f514f490aac4fa2122546de8f67acf
MD5 0624eed122799c46f63d51cf3109635d
BLAKE2b-256 501c941700f91f79685320dc1a9c706efbcfc57a1c4e841a4740baee8c2a0bb6

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