diff --git a/cmd/slackdump/internal/workspace/del.go b/cmd/slackdump/internal/workspace/del.go index b369f48b..f5205ae9 100644 --- a/cmd/slackdump/internal/workspace/del.go +++ b/cmd/slackdump/internal/workspace/del.go @@ -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 `" + `, in case you -need to use this workspace again. +workspace again by running ` + " `slackdump workspace new `" + `. Slackdump will ask for the confirmation before deleting. To omit the question, use ` + "`-y`" + ` flag. diff --git a/cmd/slackdump/internal/workspace/select.go b/cmd/slackdump/internal/workspace/select.go index 1ecfbc82..8ae34660 100644 --- a/cmd/slackdump/internal/workspace/select.go +++ b/cmd/slackdump/internal/workspace/select.go @@ -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: diff --git a/cmd/slackdump/internal/workspace/workspace.go b/cmd/slackdump/internal/workspace/workspace.go index f2046bf1..a73ed7c8 100644 --- a/cmd/slackdump/internal/workspace/workspace.go +++ b/cmd/slackdump/internal/workspace/workspace.go @@ -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