If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
Notes: Jira ticket
Mattermost is improving its CLI interface and we're looking for contributors to help with that effort. This Help Wanted issue is to implement command show
command in the CLI.
Allow seeing the slash commands detailed information.
Example: command show w16zb5tu3n1zkqo18goqry1je
Before you start, make sure you read this short Documentation
If you need other examples you can see the PR mattermost/mattermost-server#9094
This is going to be my first time but can I have a try on this?
@joshuabezaleel sure thing go for it!! Any question please dont hesitate to let is know. Thanks!!
Hey @joshuabezaleel
Is there anything we can help you with? if you have any questions, let me know!
I would like to take a shot at this!
Thanks @gabrieljackson! :+1:
Sorry for the delay on this; I've been busy with the holidays.
I have the command show
command mostly flushed out, but I wanted to verify how much information we want to display when it is invoked. Right now I have this:
$ mattermost command show ynrkaw9ar38ixx6hgoi6oh7ppr
id: ynrkaw9ar38ixx6hgoi6oh7ppr
title: MyCommand
description: My Command Description
trigger_word: mycommand
Do we want to display every value that can be set for a slash command? I wasn't sure if I should ask this here or in the Developers community channel, so let me know if you want me to bring it up there instead.
Thanks!
@hanzei and @grundleborg (since Jesus is out) - do you know who can help @gabrieljackson here, please?
Hello @gabrieljackson I would recommend following suit with the config show method, which returns all the information that can be set in an easy to read format. Here is a link to that commit for reference. Please let us know if you have any issues or questions.
Most helpful comment
I would like to take a shot at this!