Clean.jl icon indicating copy to clipboard operation
Clean.jl copied to clipboard

Command-line program for cleaning 🛀

When cleaning .ipynb, clean-jl removes empty cells, clears outputs, and formats code using JuliaFormatter.jl.

Use

clean-jl luffy.jl
clean-jl zoro.ipynb
clean-jl nami.jl usopp.ipynb
find -E . -regex ".*/*\.(jl|ipynb)" -type f -print0 | xargs -0 clean-jl

Install

git clone https://github.com/KwatMDPhD/Clean.jl &&

cd Clean.jl &&

julia --project --eval "using Pkg; Pkg.instantiate()" &&

julia --project deps/build.jl

:point_up: commands install clean-jl into ~/.julia/bin.

If not already, add the bin to the path by adding :point_down: to the profile (~/.zshrc, ~/.rc, ...)

PATH=~/.julia/bin:$PATH

Start a new shell to load the updated profile.

Test installation

clean-jl --version

:tada:


:wave: :cowboy_hat_face: Howdy

To report a bug, request a feature, or leave a comment, just submit an issue.

Powered by https://github.com/KwatMDPhD/Kata.jl