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.
Metadata
Release files for frontmatter-cli 2023.7.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| frontmatter-cli-2023.7.7.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| frontmatter_cli-2023.7.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / frontmatter-cli-2023.7.7.tar.gz
| Download URL | frontmatter-cli-2023.7.7.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75d5e401bb682fee2329519250763aacbc4f5118644eef280bf9d3c495149f1f
|
|
BLAKE2b-256 checksum How to use checksums |
a3055fe0573b46c59a2848f37152e26f59df848e2d343142dee469b100900d23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / frontmatter_cli-2023.7.7-py3-none-any.whl
| Download URL | frontmatter_cli-2023.7.7-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dda682885f894ada8ed0d941a6e483842167886591d6f98ddd4aa25ea3832b6
|
|
BLAKE2b-256 checksum How to use checksums |
4ea52ee15d9f9cec26ac74c97eca54455d99fa1448fa299d9c7979672cc0b271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|