From 4b5b18773093f7a17262316f1a32a8c365b09720 Mon Sep 17 00:00:00 2001 From: IchBinLeoon <50367411+IchBinLeoon@users.noreply.github.com> Date: Sun, 17 Apr 2022 18:57:42 +0200 Subject: [PATCH] Add version to cli root command --- cmd/crunchyroll-go/cmd/root.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/crunchyroll-go/cmd/root.go b/cmd/crunchyroll-go/cmd/root.go index c06df04..3a8a6b6 100644 --- a/cmd/crunchyroll-go/cmd/root.go +++ b/cmd/crunchyroll-go/cmd/root.go @@ -27,8 +27,9 @@ var ( ) var rootCmd = &cobra.Command{ - Use: "crunchyroll", - Short: "Download crunchyroll videos with ease. See the wiki for details about the cli and library: https://github.com/ByteDream/crunchyroll-go/wiki", + Use: "crunchyroll", + Version: Version, + Short: "Download crunchyroll videos with ease. See the wiki for details about the cli and library: https://github.com/ByteDream/crunchyroll-go/wiki", SilenceErrors: true, SilenceUsage: true,