👁️ A tool to execute a certain command when a target file is modified.

Related tags

Command-line ojo
Overview

Ojo

Ojo is a simple utility that allows you to execute a specific command each time a certain file is being saved.

Usage

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

Ojo Handles this for you, you just have to specify when to watch for modification and the command to execute and voilà !

ojo test.md -d 2 -x "pandoc --toc -s test.md -o test.html"

To-do

  • Implement a correct argument parser
  • Implement correct error handling
Issues
  • Implement actual modification time output

    Implement actual modification time output

    null

    feature request 
    opened by arxaqapi 0
  • Add sub 1 second delay option

    Add sub 1 second delay option

    Issue: Feature request


    TLDR:

    Allow the user to use a delay of less than one second.

    Description of the request

    Some usage would require to check if the watched file has been changed in a shorter time frame than one second.

    Thus, it would be beneficial to allow the user to input a delay value with more precision.

    Thoughts around the implementation

    One could specify the unit of the delay like this

    • -d 1s = 1 second delay
    • -d 100ms = 100 millisecond delay
    feature request 
    opened by arxaqapi 0
Owner
Tarek Kunze
Master's CS student
Tarek Kunze
JiaShiwen 2 Nov 11, 2021
Save image from your clipboard 📋 as an image file directly from your command line! 🔥

Clpy ?? Save copied image from clipboard as an image file directly from your command line! Note It works only on windows as of now. I'll be adding sup

Piyush Suthar 12 Aug 6, 2021
Modern file system navigation tool on Unix

monat -- Modern file system Navigator 简体中文 Introduction monat is a Unix shell auxiliary command focusing on the navigation of the file system, especia

Pavinberg 1 Nov 22, 2021
rip is a command-line deletion tool focused on safety, ergonomics, and performance

rip (Rm ImProved) rip is a command-line deletion tool focused on safety, ergonomics, and performance. It favors a simple interface, and does not imple

Kevin Liu 473 Nov 17, 2021
A command-line benchmarking tool

hyperfine 中文 A command-line benchmarking tool. Demo: Benchmarking fd and find: Features Statistical analysis across multiple runs. Support for arbitra

David Peter 9.3k Nov 29, 2021
An interactive cheatsheet tool for the command-line

navi An interactive cheatsheet tool for the command-line. navi allows you to browse through cheatsheets (that you may write yourself or download from

Denis Isidoro 10k Nov 23, 2021
Coinlive is an interactive command line tool that displays live cryptocurrency prices.

Coinlive is an interactive command line tool that displays live cryptocurrency prices. It can also display simple historical price charts.

Mayer Analytics 5 Jul 25, 2021
verilot (verifiable lottery) is a command line tool for running and verifying one-time lotteries.

verilot verilot (verifiable lottery) is a command line tool for running and verifying one-time lotteries. Install Install Rust and Cargo with Rustup.

Shelby Doolittle 9 Oct 4, 2021
A tool crate to quickly build rust command line application.

Falsework A tool crate to quickly build rust command line application.

Leon Ding 109 Nov 26, 2021
Standard Graphics is a command-line tool for printing 2D graphics from any language to any screen.

2D graphics in any programming language with just print statements!

Caleb Winston 102 Nov 5, 2021
🌤️ Command line weather tool.

??️ Command line weather tool.

risoflora 39 Nov 17, 2021
A dead simple functional testing tool for command line applications

Pharaoh : build that test pyramid! What it is Pharaoh is a dead simple, no permission needed, functional test runner for command line applications, wr

Kevin Sztern 16 Nov 25, 2021
ruborute is an interactive command-line tool to get [email protected] gaming data.

ruborute Are you 暴龍天 ?. The ruborute is an interactive command-line tool to get [email protected] gaming data. asphyxia-core/plugins: https://github.com/a

RinChanNOW! 6 Nov 9, 2021
Command line tool to extract various data from Blender .blend files

blendtool Command line tool to extract various data from Blender .blend files. Currently supports dumping Eevee irradiance volumes to .dds, new featur

null 2 Sep 26, 2021
A tool to use the webeep platform of the Politecnico di Milano directly from the command line.

webeep-cli A tool to use the WeBeep platform of the Politecnico di Milano directly from the command line. Features Browse the course folders as if the

Simone Orlando 7 Oct 22, 2021
Command line tool for computing gigantic correlation matrices

turbocor This is little program designed to compute (sparse) Pearson correlation matrices as efficiently as possible. The main ideas are thus: Pairwis

Daniel C. Jones 31 Nov 5, 2021
A simple command line tool for creating font palettes for engines like libtcod

palscii A simple command line tool for creating font palettes for engines like libtcod. Usage This can also be viewed by running palscii --help. palsc

Steve Troetti 1 Oct 31, 2021
⌚ A command-line tool (and library) for the rusty Swatch Internet Time.

⌚ A command-line tool (and library) for the rusty Swatch Internet Time. Comes with XBar/Swiftbar support.

Gil Desmarais 2 Nov 15, 2021
Command line tool to make conventional commit messages

Commit This project is a copy of cz-cli with some minor changes. I made this project for my own use, because I don't want to mess with the original cz

Pedro Mendes 2 Nov 28, 2021