package ojo

  1. Overview
  2. Docs
On This Page
  1. Usage
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Ojo

Ojo is a simple CLI tool that allows you to execute a specific command each time the specified file or directory is being modified.

Usage

Let's say that you are sick of running the following pandoc command pandoc --toc -s test.md -o test.html each time you do some minor modifications to your test.md file.

Ojo automates the command execution by specifying a file that is being watched and the command to be run each time the watched file is modified.

Specify the file and the command as shown below and voilà!

ojo test/test.md -x "pandoc --toc -s test/test.md -o test/test.html" 
OCaml

Innovation. Community. Security.