mcgregor
v0.3.1
Published
A helpful digital gardening assistant for managing digital gardens in Hugo.
Downloads
5
Readme
🧑🌾 A helpful digital gardening assistant for managing digital gardens in Hugo.
Install
$ yarn add mcgregor
Usage
Description
A helpful digital gardening assistant for managing digital gardens in Hugo.
Usage
$ mcgregor <command> [options]
Available Commands
tend Mark who last tended a post.
For more info, run any command with the `--help` flag
$ mcgregor plant --help
$ mcgregor tend --help
Options
-v, --version Displays current version
-h, --help Displays this message
tend
Mark who last tended a post.
Applies the lastTended
hash to the frontmatter of a post which includes the current date and who made the modification according to the git config of the changing user.
The resulting frontmatter will look like:
---
lastTended:
by: Luke Skywalker
when: 2021-08-31
---
Files should be passed to the tend
script after all options have been passed:
$ mcgregor tend example.md packages/core/CHANGELOG.md