Skip to content

arthur-fontaine/rtkify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rtkify

Without Rtkify:

cd .. && ENV=1 ~/.cargo/bin/cargo test some_test -- --nocapture 2>&1; echo "exit: $?"

rtk detects the cd and so skips the whole command.

With Rtkify:

cd .. && ENV=1 rtk cargo test some_test -- --nocapture 2>&1; echo "exit: $?"

rtkify creates an AST of the command and detects that cd and cargo are separate commands, so it only skips the cd and rewrites the cargo command as expected.

Usage

npx -p @arthur-fontaine/rtkify rtkify <command>

If you want to install it globally, you can use the following command:

npm install -g @arthur-fontaine/rtkify

Then you can use it as follows:

rtkify <command>

About

AST-based Bash rewriter for rtk, with binary path normalization and support for chained commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors