Skip to content

Commit

Permalink
chore!(mdrop): Release v0.2.1-ame
Browse files Browse the repository at this point in the history
  • Loading branch information
ikr4-m committed Aug 16, 2024
1 parent d16e41d commit 1e812eb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cmd/mdrop-client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import (
"os"
)

const version string = "v0.2.1-ame"

const subCmdHelpMeesage string = `
Subcommand:
auth
Expand All @@ -16,7 +18,10 @@ Subcommand:
Create instance for retriving file from sender
send [options] <file1> [file2] [file...]
subcommand
Send file to reciever instance`
Send file to reciever instance
version
subcommand
mdrop Version`

func main() {
help := flag.Bool("help", false, "Print this message")
Expand All @@ -39,6 +44,9 @@ func main() {
GetCommand(args)
case "send":
SendCommand(args)
case "version":
fmt.Println("Version:", version)
os.Exit(0)
default:
printUsage()
}
Expand Down

0 comments on commit 1e812eb

Please sign in to comment.