Skip to content

natural-affinity/kouhai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kouhai (後輩)

Periodic command execution at specific intervals (i.e. watch).

Dependencies

Usage

# view help and usage options
kouhai -h

Examples

Use it on the CLI

# invoke every 2s and stop on first failure
kouhai -s -i 2s "make test"

Use it within a makefile

# define watch task to invoke make test via kouhai
.PHONY: watch
watch: 
    @kouhai -s --interval 2s "make test"

.PHONY: test
test:
    @go test ./...

Links

License

Released under the MIT License. See LICENSE.md for details.

About

Periodic command execution at specific intervals (i.e. watch)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published