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
```bash
$ pipenv install
```
## Usage
```bash
$ python frontmatter_cli --help
Usage: frontmatter-cli [OPTIONS] COMMAND [ARGS]...
Options:
--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!
```
## 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.
[![](https://jefftriplett.com/assets/images/social/github.png)](https://github.com/jefftriplett)
[![](https://jefftriplett.com/assets/images/social/globe.png)](https://jefftriplett.com/)
[![](https://jefftriplett.com/assets/images/social/twitter.png)](https://twitter.com/webology)
[![](https://jefftriplett.com/assets/images/social/docker.png)](https://hub.docker.com/u/jefftriplett/)
## History
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
```bash
$ pipenv install
```
## Usage
```bash
$ python frontmatter_cli --help
Usage: frontmatter-cli [OPTIONS] COMMAND [ARGS]...
Options:
--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!
```
## 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.
[![](https://jefftriplett.com/assets/images/social/github.png)](https://github.com/jefftriplett)
[![](https://jefftriplett.com/assets/images/social/globe.png)](https://jefftriplett.com/)
[![](https://jefftriplett.com/assets/images/social/twitter.png)](https://twitter.com/webology)
[![](https://jefftriplett.com/assets/images/social/docker.png)](https://hub.docker.com/u/jefftriplett/)
## History
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
frontmatter-cli-0.2.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for frontmatter_cli-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8262de19c7aac3cb110c8ab30f5eea05b1262f32c309d411a7223c1a1f52824b |
|
MD5 | b6adde220f84f726b85d5e129d87e29b |
|
BLAKE2b-256 | 55509512593bad03bcc3b9083fda7983463a4844d7bfe94bfb5772601128b9f5 |