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:
- just
- pre-commit
pip install pre-commit
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for frontmatter_cli-2023.7.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d9a331b8e211714cd9c73bfa2e23a3296a0dd97e7379cfb6a0d87c332526fa4 |
|
MD5 | 6e827a1db5e29c92898244c47ece6538 |
|
BLAKE2b-256 | ab794e9873947aee1c9b0aa4b29dead295faae94fb27afabe2e7866c0361c763 |