chore: update cargo specs and bump version

This commit is contained in:
alexpasmantier 2024-10-04 13:49:13 +02:00
parent c28e3d102f
commit 67c0e93a5e
4 changed files with 7 additions and 7 deletions

2
Cargo.lock generated
View File

@ -266,7 +266,7 @@ dependencies = [
[[package]]
name = "grip-grab"
version = "0.4.0"
version = "0.4.1"
dependencies = [
"anyhow",
"clap",

View File

@ -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",

View File

@ -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)]

View File

@ -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");
}