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!" | python 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!" | python 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.1.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for frontmatter_cli-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e524325cf00b210d57282034765a18ac1de4a727b5e1032f04082aff77d24427 |
|
MD5 | 748ae1597937ee65d76c6f7419bf0618 |
|
BLAKE2b-256 | 6911731601fa3ff62104cbbc286667256c886f56622274eca1cc368de259dcb2 |