rp-cli
rp-cli is a cli of The Rust Playground.

Installation
From Source
From Binaries
The release page includes precompiled binaries.
Usage
Run
Format
Share
rp output "Permalink to the playground", "Direct link to the gist".
Download
rp can handle gist_id or rust playground url.
&mode=debug&edition=2021&gist=234b1b3dd6bf3c13ec78ea86db21e2cd
Test
$ make test
Development Run
$ cargo run run examples/main.rs
Release
- Update Cargo.toml
- version = "0.0.A"
+ version = "0.0.B"
- Update Cargo.lock
$ make test
- Commit and Tag and Push
$ git add . && git commit -m "Version 0.0.B" && git push origin main
$ git tag v0.0.B
$ git push origin v0.0.B
Dependencies
TODO
- output file (fmt, download)
- output JSON format
- more test code...
- declear custom error type
Blog
「rp-cli: Rust Playground CLI」 https://naoto0822.medium.com/rp-cli-rust-playground-cli-10ba1666ae32
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.