Crates.io | rusco |
lib.rs | rusco |
version | 0.1.3 |
source | src |
created_at | 2022-01-18 15:45:33.342899 |
updated_at | 2022-01-24 17:09:13.417892 |
description | A simple tool to run complex commands from anywhere |
homepage | https://github.com/numine777/project_builder |
repository | https://github.com/numine777/project_builder |
max_upload_size | |
id | 516279 |
size | 24,175 |
Originally built to be a project build aliaser, this project has turned into a convenient way to alias any complex command to a smaller call to a command line tool that keeps track of a collection of json configuration that can be updated through the command line or in your favorite editor. This also has the benefit of being able to be run from anywhere in your file system that has access to the command.
To install the program, simply run:
cargo install rusco
Current usage examples:
rusco init <project_name>
rusco list // this will list configuratios for commands
rusco set_command <project_name> // this needs to be a single string unbroken by whitespace (e.g. 'bazel' or 'docker-compose')
rusco set_dir <project_name>
rusco set_args <project_name>
rusco clear_args <project_name>
rusco set_flags <project_name>
rusco clear_flags <project_name>
rusco run <project_name>