remove FIREFISH_VERSION
This commit is contained in:
parent
25c242f94a
commit
a09555b7d9
3 changed files with 2 additions and 11 deletions
|
@ -19,7 +19,7 @@ struct Args {
|
|||
|
||||
#[derive(Subcommand)]
|
||||
enum Commands {
|
||||
/// Print fishctl version and the corresponding Firefish version
|
||||
/// Print fishctl version
|
||||
Version,
|
||||
/// Modify or validate the config files
|
||||
#[command(subcommand)]
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
//! `version` subcommand
|
||||
|
||||
use color_print::cprintln;
|
||||
|
||||
pub(super) fn run() {
|
||||
cprintln!("fishctl version: <bold>v{}</>", env!("CARGO_PKG_VERSION"));
|
||||
cprintln!(
|
||||
"The latest Firefish version as of this fishctl release: <bold>v{}</>",
|
||||
crate::FIREFISH_VERSION
|
||||
);
|
||||
println!("v{}", env!("CARGO_PKG_VERSION"));
|
||||
}
|
||||
|
|
|
@ -4,9 +4,6 @@ mod config;
|
|||
use color_print::cprintln;
|
||||
use std::process::ExitCode;
|
||||
|
||||
/// latest Firefish version as of this fishctl release
|
||||
const FIREFISH_VERSION: &str = "20240613";
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> ExitCode {
|
||||
let res = command::run().await;
|
||||
|
|
Loading…
Reference in a new issue