From cced5ed4664bb0c442ae5d58e69c0aae72fa0887 Mon Sep 17 00:00:00 2001 From: Alex Zamai Date: Sun, 24 Nov 2024 18:16:03 +0100 Subject: [PATCH] :memo: Update documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tiny fix, so that command is better copy paste-able. Also, all of the shell commands have ❯ symbol when copied, which adds a step of editing when running commands, let me know @OpenWaygate if you allow me to remove those as well. --credentials → --credential --- README.md | 4 ++-- cmd/root.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 387b39c..8c060da 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Download this credential to your local machine with name `client_secret.json`, i To verify this credential, run the following command ```shell -❯ yutu auth --credentials client_secret.json +❯ yutu auth --credential client_secret.json ``` A browser window will open asking for your permission to access your YouTube account, after granting the permission, a token will be generated and saved to `youtube.token.json`. @@ -80,7 +80,7 @@ There are two actions available for yutu, one is for general purpose and the oth ### Gopher ```shell -❯ go install https://github.com/eat-pray-ai/yutu@latest +❯ go install github.com/eat-pray-ai/yutu@latest ``` ### Linux diff --git a/cmd/root.go b/cmd/root.go index b16bf39..54cffc1 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -10,7 +10,7 @@ import ( var RootCmd = &cobra.Command{ Use: "yutu", Short: "A fully functional CLI for YouTube", - Long: "yutu is a fully functional CLI for YouTube, which can be used to manupulate YouTube videos, playlists, channels, etc.", + Long: "yutu is a fully functional CLI for YouTube, which can be used to manipulate YouTube videos, playlists, channels, etc.", Run: func(cmd *cobra.Command, args []string) { cmd.Help()