chore: update cargo specs and bump version
This commit is contained in:
parent
c28e3d102f
commit
67c0e93a5e
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -266,7 +266,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "grip-grab"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
|
@ -1,13 +1,13 @@
|
||||
[package]
|
||||
name = "grip-grab"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
edition = "2021"
|
||||
authors = ["Alexandre Pasmantier <alex.pasmant@gmail.com>"]
|
||||
license = "Apache-2.0"
|
||||
description = "A faster, more lightweight ripgrep alternative."
|
||||
readme = "README.md"
|
||||
homepage = "https://github.com/alexpasmantier/grip-grep"
|
||||
repository = "https://github.com/alexpasmantier/grip-grep"
|
||||
homepage = "https://github.com/alexpasmantier/grip-grab"
|
||||
repository = "https://github.com/alexpasmantier/grip-grab"
|
||||
keywords = ["cli", "search", "grep", "ripgrep", "rust"]
|
||||
categories = [
|
||||
"command-line-utilities",
|
||||
|
@ -4,9 +4,9 @@ use crate::{printer::PrintMode, utils};
|
||||
use clap::{ArgAction, Parser, Subcommand};
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(name = "grip-grep")]
|
||||
#[command(name = "grip-grab")]
|
||||
#[command(bin_name = "gg")]
|
||||
#[command(version, about = "A somewhat faster, more lightweight, ripgrep-inspired alternative.", long_about = None, arg_required_else_help=true)]
|
||||
#[command(version, about = "A faster, more lightweight ripgrep alternative for day to day usecases.", long_about = None, arg_required_else_help=true)]
|
||||
pub struct Cli {
|
||||
/// a regex pattern to search for
|
||||
#[arg(num_args = 1)]
|
||||
|
@ -17,7 +17,7 @@ pub fn upgrade_gg(force: bool) {
|
||||
println!("└─────────────────────────────────────────┘\n");
|
||||
|
||||
let mut command = Command::new("cargo");
|
||||
command.arg("install").arg("grip-grep");
|
||||
command.arg("install").arg("grip-grab");
|
||||
if force {
|
||||
command.arg("--force");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user