#cargo #fuzzy-finder #cargo-subcommand #run #example #execute

app cargo-ex

This cargo sub-command execute cargo run --example easily via fuzzy finder

2 releases

0.1.1 Apr 8, 2022
0.1.0 Apr 8, 2022

#703 in Cargo plugins

MIT license

10KB
58 lines

cargo-ex

This cargo sub-command execute cargo run --example easily via fuzzy finder.

Install

cargo install cargo-ex

Usage

There are some files in the examples directory.

$ ls -1 examples
hello-cargo.rs
hello-example.rs
hello-rust.rs
hello-wave.rs

It shows files using a fuzzy finder in the examples directory when you execute cargo ex.

$ cargo ex
  hello-rust.rs
  hello-cargo.rs
> hello-example.rs
  hello-wave.rs
  4/4                                                                       1/0
> heo

Then you press the enter to execute cargo run --examples.

$ cargo ex
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/examples/hello-example`
Hello example!

Dependencies

~12–21MB
~301K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy