Crates.io | rp-cli |
lib.rs | rp-cli |
version | 0.0.4 |
source | src |
created_at | 2022-03-24 01:11:50.512861 |
updated_at | 2022-08-04 05:31:19.585194 |
description | rp-cli is a cli of The Rust Playground. |
homepage | https://github.com/naoto0822/rp-cli |
repository | https://github.com/naoto0822/rp-cli |
max_upload_size | |
id | 555475 |
size | 4,827,900 |
rp-cli is a cli of The Rust Playground.
$ cargo install rp-cli
The release page includes precompiled binaries.
$ rp run ./examples/run.rs
$ rp fmt ./examples/run.rs
rp output "Permalink to the playground", "Direct link to the gist".
$ rp share ./examples/run.rs
rp can handle gist_id or rust playground url.
$ rp download 234b1b3dd6bf3c13ec78ea86db21e2cd
or
$ rp download https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=234b1b3dd6bf3c13ec78ea86db21e2cd
$ make test
$ cargo run run examples/main.rs
- version = "0.0.A"
+ version = "0.0.B"
$ make test
$ git add . && git commit -m "Version 0.0.B" && git push origin main
$ git tag v0.0.B
$ git push origin v0.0.B
「rp-cli: Rust Playground CLI」 https://naoto0822.medium.com/rp-cli-rust-playground-cli-10ba1666ae32
Licensed under either of
at your option.