mcgregor

0.3.1 • Public • Published
Farmer McGregor

McGregor

🧑‍🌾 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

API

Readme

Keywords

none

Package Sidebar

Install

npm i mcgregor

Weekly Downloads

11

Version

0.3.1

License

MIT

Unpacked Size

7.1 kB

Total Files

3

Last publish

Collaborators

  • renddslow