Add flags to filter sp items for Groups (#4281)
<!-- PR description--> --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [x] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Supportability/Tests - [ ] 💻 CI/Deployment - [ ] 🧹 Tech Debt/Cleanup #### Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * #<issue> #### Test Plan <!-- How will this be tested prior to merging.--> - [ ] 💪 Manual - [x] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
8590b24199
commit
dbbf9246fe
@ -109,6 +109,7 @@ func addGroupsCommands(cmd *cobra.Command) *cobra.Command {
|
||||
flags.AddCorsoPassphaseFlags(c)
|
||||
flags.AddAWSCredsFlags(c)
|
||||
flags.AddAzureCredsFlags(c)
|
||||
flags.AddSharePointDetailsAndRestoreFlags(c)
|
||||
|
||||
case deleteCommand:
|
||||
c, fs = utils.AddCommand(cmd, groupsDeleteCmd(), utils.MarkPreReleaseCommand())
|
||||
|
||||
@ -66,6 +66,13 @@ func (suite *GroupsUnitSuite) TestAddGroupsCommands() {
|
||||
groupsDetailsCmd().Short,
|
||||
[]string{
|
||||
flags.BackupFN,
|
||||
flags.LibraryFN,
|
||||
flags.FolderFN,
|
||||
flags.FileFN,
|
||||
flags.FileCreatedAfterFN,
|
||||
flags.FileCreatedBeforeFN,
|
||||
flags.FileModifiedAfterFN,
|
||||
flags.FileModifiedBeforeFN,
|
||||
},
|
||||
detailsGroupsCmd,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user