rp-cli is a cli of The Rust Playground.
bash
$ cargo install rp-cli
The release page includes precompiled binaries.
bash
$ rp run ./examples/run.rs
bash
$ rp fmt ./examples/run.rs
rp output "Permalink to the playground", "Direct link to the gist".
bash
$ rp share ./examples/run.rs
rp can handle gist_id or rust playground url.
bash
$ rp download 234b1b3dd6bf3c13ec78ea86db21e2cd
or
$ rp download https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=234b1b3dd6bf3c13ec78ea86db21e2cd
TODO
Licensed under either of
at your option.