-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
143 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package list | ||
|
||
import ( | ||
"github.com/rusq/slackdump/v2/cmd/slackdump/internal/dump" | ||
"github.com/rusq/slackdump/v2/cmd/slackdump/internal/golang/base" | ||
) | ||
|
||
const codeBlock = "```" | ||
|
||
// CmdListConversation is the command to list conversations. | ||
var CmdListConversation = &base.Command{ | ||
UsageLine: "slackdump list convo [flags] <conversation list>", | ||
Short: "synonym for 'slackdump dump'", | ||
PrintFlags: true, | ||
RequireAuth: true, | ||
FlagMask: dump.CmdDump.FlagMask, | ||
Long: base.Render(` | ||
# List Conversation Command | ||
This command does effectvely the same as the following: | ||
` + codeBlock + ` | ||
slackdump dump | ||
` + codeBlock + ` | ||
To get extended usage help, run ` + "`slackdump help dump`", | ||
)} | ||
|
||
func init() { | ||
CmdListConversation.Run = dump.RunDump | ||
dump.InitDumpFlagset(&CmdListConversation.Flag) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters