Skip to content

Commit

Permalink
alias r
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodesdev committed Jul 20, 2024
1 parent b45ce6c commit 265943e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fast-scp"
version = "0.1.4"
version = "0.1.5"
description = "A fast and simple scp CLI tool"
license = "MIT"
repository = "https://github.com/dcodesdev/fast-scp"
Expand Down
8 changes: 4 additions & 4 deletions src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
use clap::{command, Parser, Subcommand};
use clap::{Parser, Subcommand};
use std::path::PathBuf;

#[derive(Parser)]
#[command(version, about, long_about = None)]
#[clap(version, about, long_about = None)]
pub struct Cli {
#[command(subcommand)]
#[clap(subcommand)]
pub command: Commands,
}

#[derive(Subcommand)]
pub enum Commands {
#[command(about = "Copy a file to a remote host")]
#[clap(about = "Copy a file to a remote host", alias = "r")]
Receive {
#[clap(help = "Remote source to copy from")]
source: String,
Expand Down

0 comments on commit 265943e

Please sign in to comment.