cargo-launcher

Build Status Latest version Documentation License

If the cargo project is a binary crates, this tool can register the binary in the following launcher.

Demo

Alfred:

Preview

Installation

cargo-launcher can be installed with cargo install:

shell $ cargo install cargo-launcher

To upgrade:

shell $ cargo install --force cargo-launcher

The resulting binary should then be in $HOME/.cargo/bin.

Or download binary from gthub release page.

Usage

Common

``` shell $ cd {your binary crates project}

Install to local, or manually install

The script path is set as follows

PATH=$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH

$ cargo install --path . ... Installing /Users/watawuwu/.cargo/bin/{your-binary} ```

Alfred workflow

$ cargo launcher alfred

Hain plugin

$ cargo launcher hain

Albert plugin

$ cargo launcher albert

Option

``` This CLI is a simple utility to register in lancher(alfred or hain).

USAGE: cargo launcher [OPTIONS]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -b, --bin

ARGS: ```