loading...
Cover image for Get live Coronavirus stats in Slack with Nimbella Commander

Get live Coronavirus stats in Slack with Nimbella Commander

bhageena profile image Chandan Rai ・3 min read

“After all it really is all of humanity that is under threat during a pandemic.”
— Margaret Chan

Everyone in our team in India was Googling the statistics of Coronavirus. So I created this command which has made it easy for our teams to be aware of the issue and still be able to focus on the task we needed to complete. We have found it very useful, therefore, I am sharing how you can run our Nimbella Commander corona_stats command in your Slack workspace.

CoronaVirus worldwide stats

In just 3 simple steps, we will install Commander into Slack, install the corona_stats command, run the command to see the current stats worldwide or in a specific country, allow other users to run the command and see the command logs or execution history.

  1. Add Nimbella Commander to your Slack page. You can add it by searching “Nimbella” in the apps tab on Slack. You can also add it by going to our official website and clicking the “Add to Slack” button.

    Install Nimbella Commander

  2. In order to get the stats working for you, you’ll need to install the corona_stats Command Set. Command Sets are a packaging specification for Slack commands, and a convenient way to share commands via GitHub or open source. Command Sets are installed into your Slack teams via the Nimbella Commander by typing the below csm_install command in your Slack prompt.

    /nc csm_install corona_stats

    Install the corona_stats command

  3. Finally, run the below command to see current stats in the specified country.

    /nc corona_stats <countryName>

CoronaVirus stats in a specific country


You likely want other teammates in your Slack team to run this command. Nimbella Commander offers a neat feature to allow other users to run specific commands. For example, you can allow access to the corona_stats command to all users using

/nc command_runners corona_stats + anyone

Specify who else can run the command

It’s worth also mentioning that you have access to an audit trail to see who’s run your commands. This is useful for administrators and team oversight where appropriate.

/nc command_log corona_stats

Command Execution Log

Using Nimbella’s access control you can also limit who can view and edit the code that implements a particular command as well. With Audit Logs, you have accountability and historical data readily available at your fingertips. These are powerful features of the Commander that don’t exist in Slack otherwise. For more information about Commander, visit our website. We’d also love to hear from you via our community Slack channel or on GitHub.

If you wish to add Commander to your Slack account, then click this link to get started!


Posted on Mar 19 by:

bhageena profile

Chandan Rai

@bhageena

Night owl. Obstinate opinions. Tech enthusiast. Programming nerd. Prefer texts over calls, late night chats over meeting

Discussion

markdown guide