rp-cli 0.0.3

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

rp-cli

CICD License Latest Version

rp-cli is a cli of The Rust Playground.

rp-cli-readme-gif

Installation

From Source

$ cargo install rp-cli

From Binaries

The release page includes precompiled binaries.

Usage

Run

$ rp run ./examples/run.rs

Format

$ rp fmt ./examples/run.rs

Share

rp output "Permalink to the playground", "Direct link to the gist".

$ rp share ./examples/run.rs

Download

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

Dependencies

TODO

  • output file (fmt, download)
  • output JSON format
  • more test code...
  • declear custom error type

Blog

TODO

License

Licensed under either of

at your option.