Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
move browse command to repo browse, publish v5.3.72 📜
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Aug 4, 2021
1 parent 5ebd533 commit dfdd875
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
---

## [[v5.3.72] 2021-08-04](#v5372-2021-08-04)

### Added

- Add `repo browse` command.

### Changed

- Move `browse` command to `repo browse`.

### Fixed

Nothing.

## [[v5.3.71] 2021-07-03](#v5371-2021-07-03)

### Added
Expand Down
3 changes: 0 additions & 3 deletions pkg/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
authx "github.com/secman-team/secman/tools/auth"
configx "github.com/secman-team/secman/tools/config"
repox "github.com/secman-team/secman/tools/repo"
browsex "github.com/secman-team/secman/tools/browse"
checker "github.com/secman-team/version-checker"

"github.com/secman-team/shell"
Expand Down Expand Up @@ -193,7 +192,6 @@ one group or all sites that contain a certain word in the group or name.`,
repoCmd = repox.Repo(factory.New())
authCmd = authx.Auth(factory.New())
configCmd = configx.Config(factory.New())
browseCmd = browsex.Browse(factory.New())
)

type Options struct {
Expand Down Expand Up @@ -278,7 +276,6 @@ func NewCmdRoot(f *cmdutil.Factory, version string, versionDate string) *cobra.C
cmd.AddCommand(uninstallCmd)
cmd.AddCommand(syncCmd)
cmd.AddCommand(openCmd)
cmd.AddCommand(browseCmd)

cmdutil.DisableAuthCheck(cmd)

Expand Down
12 changes: 0 additions & 12 deletions tools/browse/browse.go

This file was deleted.

0 comments on commit dfdd875

Please sign in to comment.