diff options
| author | chrislu <chris.lu@gmail.com> | 2022-07-16 12:07:31 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-07-16 12:07:31 -0700 |
| commit | 1f2c5ee06ecd54f46169440a56be07c3081407b7 (patch) | |
| tree | 2d2b95b85bf7329653943450c00b60b4a42bbb92 | |
| parent | 8050f9202f87c4a9b273180faa4136fa1002ba73 (diff) | |
| download | seaweedfs-1f2c5ee06ecd54f46169440a56be07c3081407b7.tar.xz seaweedfs-1f2c5ee06ecd54f46169440a56be07c3081407b7.zip | |
add an empty placeholder for mq.topic.list
| -rw-r--r-- | weed/shell/command_mq_topic_list.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/weed/shell/command_mq_topic_list.go b/weed/shell/command_mq_topic_list.go new file mode 100644 index 000000000..a069b0614 --- /dev/null +++ b/weed/shell/command_mq_topic_list.go @@ -0,0 +1,28 @@ +package shell + +import ( + "fmt" + "io" +) + +func init() { + Commands = append(Commands, &commandMqTopicList{}) +} + +type commandMqTopicList struct { +} + +func (c *commandMqTopicList) Name() string { + return "mq.topic.list" +} + +func (c *commandMqTopicList) Help() string { + return `print out all topics` +} + +func (c *commandMqTopicList) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) { + + fmt.Fprintf(writer, "%s\n", commandEnv.option.Directory) + + return nil +} |
