Skip to content

Commit

Permalink
help update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Nov 15, 2024
1 parent 4f74c94 commit 6ee01b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cmd/slackdump/internal/workspace/del.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ Use ` + "`del`" + ` to delete the Slack Workspace login information ("forget"
the workspace).
If the workspace login information is deleted, you will need to login into that
workspace again by running ` + " `slackdump auth new <name>`" + `, in case you
need to use this workspace again.
workspace again by running ` + " `slackdump workspace new <name>`" + `.
Slackdump will ask for the confirmation before deleting. To omit the
question, use ` + "`-y`" + ` flag.
Expand Down
3 changes: 2 additions & 1 deletion cmd/slackdump/internal/workspace/select.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ var CmdWspSelect = &base.Command{
that you have previously authenticated in.
"Current" means that this workspace will be used by default when running
other commands, unless you specify a different workspace explicitly.
other commands, unless you specify a different workspace explicitly with
the ` + "`-w`" + ` flag.
To get the full list of authenticated workspaces, run:
Expand Down
4 changes: 2 additions & 2 deletions cmd/slackdump/internal/workspace/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ automatically detected to be:
},
}

//go:generate mockgen -destination=mocks_test.go -package=workspace -source=workspace.go manager

// manager is used for test rigging.
//
//go:generate mockgen -destination=mocks_test.go -package=workspace -source=workspace.go manager
type manager interface {
Auth(ctx context.Context, name string, c cache.Credentials) (auth.Provider, error)
Delete(name string) error
Expand Down

0 comments on commit 6ee01b7

Please sign in to comment.