Skip to content

shuru-project/shuru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shuru Logo

Shuru

A Basic Command/Task Runner Written in Rust

Version License

Join us in Hacktoberfest and contribute to open source!

Installation

Linux and macOS

Run the following command to install the shuru CLI on your system:

curl -s https://raw.githubusercontent.com/shuru-project/shuru/main/install.sh | sh

Features

  • Basic task runner
  • Command Auto-completions for Bash, Zsh, and Fish shell
  • Built-in Node Version Manager
  • Built-in Python Version Manager

Usage

  1. Create a shuru.toml file in the root of your project to define tasks.
  2. Run tasks using the following command:
shuru <COMMAND>

Replace <COMMAND> with the name of the task you've defined in your shuru.toml file.

Examples

You can explore the examples directory for more examples. Below is a simple example for a Node.js project:

[versions]
node = "v16.14.0"

[[task]]
name = "setup"
command = "npm i"

[[task]]
name = "dev"
command = "npm run dev"
default = true # This command can be run by just typing "shuru"

[[task]]
name = "build"
command = "npm run build"

Join Us on Discord

Join our community on Discord to discuss, share feedback, and get support: https://discord.gg/EtZn7EdDdS