Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Lambda Mod Zsh Theme | 456 | 6 months ago | 8 | mit | Shell | |||||
A simple zsh theme. | ||||||||||
Sobole Zsh Theme | 117 | a year ago | 4 | Shell | ||||||
Minimalistic zsh theme inspired by the old-fashioned hobbies | ||||||||||
Aphrodite Terminal Theme | 70 | 10 months ago | mit | Shell | ||||||
A minimalistic terminal theme (prompt) for sexy terminals that works in bash, fish and zsh | ||||||||||
Powerless | 58 | 3 years ago | gpl-3.0 | Shell | ||||||
Minimalistic/responsive ZSH prompt inspired by powerline. | ||||||||||
Pi | 55 | 5 years ago | mit | |||||||
A minimalist zsh theme with git status decorations | ||||||||||
.dotfiles | 31 | 3 months ago | Shell | |||||||
My ArtixLinux rice with wayland using the river compositor. | ||||||||||
Rush | 20 | 3 years ago | 3 | mit | Python | |||||
A Minimalistic CLI Tool for Managing and Running Bash Snippets | ||||||||||
Miniplug | 19 | a year ago | other | Shell | ||||||
:sunflower: Minimalistic plugin manager for ZSH (mirror) | ||||||||||
Chnode | 17 | 8 months ago | mit | Shell | ||||||
Changes shell's current Node.js version by updating $PATH | ||||||||||
Sm Prompt | 15 | 3 years ago | mit | Shell | ||||||
⛓ a Simplistic & Minimalist theme for Bash and Zsh prompts. |
♆ Rush: A Minimalistic Bash Utility
Run all your task automation Bash commands from a single rushfile.yml
file.
rushfile.yml
where task_2
is chained to task_1
)$ pip3 install rush-cli
Here is an example rushfile.yml
. It needs to reside in the root directory:
# rushfile.yml
task_1: |
echo "task1 is running"
task_2: |
# Task chaining [task_1 is a dependency of task_2]
task_1
echo "task2 is running"
task_3: |
ls -a
sudo apt-get install cowsay | head -n 0
cowsay "Around the world in 80 days!"
//task_4: |
# Ignoring a task [task_4 will be ignored while execution]
ls | grep "ce"
ls > he.txt1
task_5: |
# Running a bash script from rush
./script.sh
To see all the available options, run:
$ rush
or,
$ rush --help
This should show:
Usage: rush [OPTIONS] [FILTER_NAMES]...
♆ Rush: A Minimalistic Bash Utility
Options:
-a, --all Run all tasks
--hide-outputs Option to hide interactive output
--ignore-errors Option to ignore errors
-p, --path Show the absolute path of rushfile.yml
--no-deps Do not run dependent tasks
--view-tasks View task commands
-ls, --list-tasks List task commands with dependencies
--no-warns Do not show warnings
-v, --version Show rush version
-h, --help Show this message and exit.
Run all the tasks
$ rush --all
Run specific tasks
$ rush task_1 task_4
Ignore specific tasks
See the example rushfile.yml
where the '//'
before a task name means that the task will be ignored during execution
# rushfile.yml
//task_4: |
echo "This task will be ignored during execution."
This ignores the task named //task_4
.
Run tasks non interactively (supress the outputs)
$ rush --hide-outputs
Run tasks ignoring errors
$ rush --ignore-errors
Do not run the dependent tasks
$ rush task_2 --no-deps
View absolute path of rushfile.yml
$ rush --path
output,
/home/rednafi/code/rush/rushfile.yml
View task commands
$ rush task_5 task_6 task_7 --view-tasks
View task list with dependencies
$ rush -ls
Rush runs all the commands using /usr/bin/bash
. So shell specific syntax with other shebangs might throw error.
If you are running Bash script from rush, use shebang (#!/usr/bin/env bash
)
Rush
globally and it throws a runtime error, you can try to solve it via adding the following variables to your ~./bashrc
:export LC_ALL=C.UTF-8
export LANG=C.UTF-8
You can find more information about the issue and why it's a non-trivial problem here.