Crates.io | lazy-badger |
lib.rs | lazy-badger |
version | 0.2.0 |
source | src |
created_at | 2024-07-19 03:30:01.640168 |
updated_at | 2024-07-30 02:02:15.150509 |
description | Simple Command Line Interface to call scripts from your working directory |
homepage | |
repository | https://github.com/gabaconrado/lazy-badger |
max_upload_size | |
id | 1308252 |
size | 20,792 |
Simple utility to run scripts in the project level to boost your workflow
Lazy badger is a tool to call scripts in a pre-configured directory to make the development workflow smooth in a consistent way across different projects.
Almost, the main differences are:
The project was actually motivated by make
, but without the building pragmatism
present there. It aims to be a simplified, more focused on general workflow management.
Add some scripts to a directory (./scripts
by default) in your working directory
and use the tool to call them.
# For the following directory structure
#
# .
# ./scripts/
# ./scripts/script_one.sh
# ./scripts/scoped/script_two.sh
# ./scripts/scoped/more_scoped/with_args.sh
# Call the scripts directly
lazy-badger script_one
lazy-badger script_two
# Pass arguments to them
lazy-badger with_args foo bar baz
# Change default script root
lazy-badger --scripts-root my-root-dir my-script
# List all available scripts
lazy-badger
# Help message
lazy-badger --help
bash
as their underlying command executor;