cg-local-app

Crates.iocg-local-app
lib.rscg-local-app
version0.1.2
sourcesrc
created_at2020-04-05 15:58:25.90908
updated_at2021-04-05 20:12:24.690167
descriptionRust application for CG Local
homepagehttps://github.com/vtavernier/cg-local-app.rs
repositoryhttps://github.com/vtavernier/cg-local-app.rs.git
max_upload_size
id226613
size85,560
Alixinne (alixinne)

documentation

https://docs.rs/cg-local-app/

README

cg-local-app

Crates.io Run tests GitHub release Maintenance Libraries.io dependency status for GitHub repo License

Rust implementation of the client-side application for the CG Local extension. This is a drop-in replacement for the original Java application which works with the original browser extension.

Install

Pre-built packages

Check the releases for binaries from your operating system.

Using cargo

cargo install --force cg-local-app

From source

git clone https://github.com/vtavernier/cg-local-app.rs.git && cd cg-local-app.rs
cargo install --path .

Usage

cg-local-app 0.1.2
Vincent Tavernier <vince.tavernier@gmail.com>
Rust application for CG Local

USAGE:
    cg-local-app [FLAGS] [OPTIONS] --target <target>

FLAGS:
    -d, --download    Download the file from the IDE before synchronizing
    -h, --help        Prints help information
        --no-gui      Disable text user interface
    -p, --play        Auto-play questions on upload
    -V, --version     Prints version information

OPTIONS:
    -b, --bind <bind>        Address to bind to for the extension. Shouldn't need to be changed [default: 127.0.0.1:53135]
    -t, --target <target>    Path to the target file to synchronize with the IDE

Examples

# Synchronize main.rs with the IDE, enable auto-play by default
cg-local-app -p -t main.rs

Status

Missing features:

  • Two-way synchronization

License

MIT

Commit count: 17

cargo fmt