From 09821f2f0d21cd382fa38af9c725b1ebc0954e01 Mon Sep 17 00:00:00 2001 From: Vaibhav Kamra Date: Fri, 27 Jan 2023 12:03:13 -0800 Subject: [PATCH] Hide sharepoint details command (#2304) ## Description Sharepoint support is still under active development and not ready for use. Hiding the command from usage details. ## Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No ## Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [x] :world_map: Documentation - [ ] :robot: Test - [ ] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup ## Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/cli/backup/sharepoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/backup/sharepoint.go b/src/cli/backup/sharepoint.go index 9fa8afb6b..26d819b27 100644 --- a/src/cli/backup/sharepoint.go +++ b/src/cli/backup/sharepoint.go @@ -108,7 +108,7 @@ func addSharePointCommands(cmd *cobra.Command) *cobra.Command { "ID of the backup to retrieve.") case detailsCommand: - c, fs = utils.AddCommand(cmd, sharePointDetailsCmd()) + c, fs = utils.AddCommand(cmd, sharePointDetailsCmd(), utils.HideCommand()) c.Use = c.Use + " " + sharePointServiceCommandDetailsUseSuffix c.Example = sharePointServiceCommandDetailsExamples