Skip to content

mo29cg/runLogAccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a formatter that improves accessibility of github actions log which you get from gh run view <runNumber> --log

Enviroment

This works best with VsCode and IndentNav addon.

HOW TO USE

Add function like this to ~/.bashrc

grl(){
    gh run view $1 --log | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})*)?m//g" | ts-node $HOME/path/to/runLogAccess/format.ts &> /path/to/output.txt
}

sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})*)?m//g" is for stripping out color code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published