Skip to content
/ dog Public
forked from dogtools/dog

Dog is a command line application that executes tasks

License

Notifications You must be signed in to change notification settings

lordudun/dog

 
 

Repository files navigation

Dog

Build Status Join the chat

Dog is a command line application that executes automated tasks. It works in a similar way as GNU Make but it is a more generic task runner, not a build tool. Dog's default script syntax is sh but most interpreted languages like BASH, Python, Ruby or Perl can also be used.

Installing Dog

If you are on macOS you can install Dog using brew:

brew tap dogtools/dog
brew install dog

If you have your golang environment set up, you can use:

go get github.com/dogtools/dog

Using Dog

List all tasks in current project

dog

Execute a task

dog taskname

Execute a task, printing elapsed time and status code

dog -i taskname

What is a Dogfile?

Dogfile is a specification that uses YAML to describe the tasks related to a project. We think that the Spec will be finished (no further breaking changes) by the v1.0.0 version of Dog.

Other tools

Tools that use Dogfiles are called dogtools. Dog is the first dogtool but there are other things that can implemented in the future: web and desktop UIs, chat bot interfaces, plugins for text editors and IDEs, tools to export Dogfiles to other formats, HTTP API interfaces, even implementations of the cli in other languages! To simplify the process of creating dogtools we are implementing parts of Dog as Go packages so they can be used in other projects (see parser, types and execute). Let us know if you have any uncovered need on any of these packages.

Contributing

If you want to help, take a look at:

In case you are not interested in improving Dog but on building your own tool on top of the Dogfile Spec, please help us discussing it:

About

Dog is a command line application that executes tasks

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.2%
  • Shell 0.8%