<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chandan Rai</title>
    <description>The latest articles on DEV Community by Chandan Rai (@bhageena).</description>
    <link>https://dev.to/bhageena</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F352699%2F26a4fd40-98a3-447c-bdbd-836923d0a35b.jpg</url>
      <title>DEV Community: Chandan Rai</title>
      <link>https://dev.to/bhageena</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bhageena"/>
    <language>en</language>
    <item>
      <title>Get live Coronavirus stats in Slack with Nimbella Commander</title>
      <dc:creator>Chandan Rai</dc:creator>
      <pubDate>Thu, 19 Mar 2020 11:36:47 +0000</pubDate>
      <link>https://dev.to/bhageena/get-live-coronavirus-stats-in-slack-with-nimbella-commander-2ji5</link>
      <guid>https://dev.to/bhageena/get-live-coronavirus-stats-in-slack-with-nimbella-commander-2ji5</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;“After all it really is all of humanity that is under threat during a pandemic.”&lt;br&gt;
— Margaret Chan&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;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 &lt;a href="https://nimbella.com/product/commander"&gt;Nimbella Commander&lt;/a&gt; corona_stats command in your &lt;a href="https://nimbella-community.slack.com/apps/AS833QXL0-nimbella-commander?next_id=0"&gt;Slack workspace&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2KnsIk84--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1090/0%2AgUsyxwey0eLDap0A.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2KnsIk84--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1090/0%2AgUsyxwey0eLDap0A.png" alt="CoronaVirus worldwide stats"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In just 3 simple steps, we will install Commander into Slack, install the &lt;em&gt;corona_stats&lt;/em&gt; 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.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Add &lt;a href="https://nimbella-community.slack.com/apps/AS833QXL0-nimbella-commander?next_id=0"&gt;Nimbella Commander to your Slack page&lt;/a&gt;. You can add it by searching “&lt;strong&gt;Nimbella&lt;/strong&gt;” in the apps tab on Slack. You can also add it by &lt;a href="https://nimbella.com/"&gt;going to our official website&lt;/a&gt; and clicking the “&lt;strong&gt;Add to Slack&lt;/strong&gt;” button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--J3mY3-TT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1092/0%2Ai50HxnwnYFDyOXaI.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--J3mY3-TT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1092/0%2Ai50HxnwnYFDyOXaI.png" alt="Install Nimbella Commander"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In order to get the stats working for you, you’ll need to install the &lt;a href="https://github.com/nimbella/command-sets"&gt;corona_stats Command Set&lt;/a&gt;. 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 &lt;em&gt;csm_install&lt;/em&gt; command in your Slack prompt.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/nc csm_install corona_stats&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9A6CXVH9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/633/0%2AJK97-TyZ0unN1pQE.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9A6CXVH9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/633/0%2AJK97-TyZ0unN1pQE.png" alt="Install the corona_stats command"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Finally, run the below command to see current stats in the specified country.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/nc corona_stats &amp;lt;countryName&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xBqx3Yv5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/568/0%2AOug5lDQ8Ht_mgwGc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xBqx3Yv5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/568/0%2AOug5lDQ8Ht_mgwGc.png" alt="CoronaVirus stats in a specific country"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;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 &lt;em&gt;corona_stats&lt;/em&gt; command to all users using&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/nc command_runners corona_stats + anyone&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u7SJmyRo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/882/0%2AIwwOOJAGEBppdVMy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u7SJmyRo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/882/0%2AIwwOOJAGEBppdVMy.png" alt="Specify who else can run the command"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/nc command_log corona_stats&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qUz6SGl5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/932/0%2ASBGwwHXwknq4rSwa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qUz6SGl5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/932/0%2ASBGwwHXwknq4rSwa.png" alt="Command Execution Log"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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, &lt;a href="https://nimbella.com/product/commander"&gt;visit our website&lt;/a&gt;. We’d also love to hear from you via our community &lt;a href="https://app.slack.com/client/TL64TJWVB/DTK6BBZGD"&gt;Slack channel&lt;/a&gt; or on &lt;a href="https://github.com/nimbella/command-sets"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you wish to add Commander to your Slack account, then &lt;a href="https://slack.com/apps/AS833QXL0-nimbella-commander"&gt;click this link to get started&lt;/a&gt;!&lt;/p&gt;




</description>
      <category>coronavirus</category>
      <category>covid19</category>
      <category>slack</category>
      <category>chatops</category>
    </item>
  </channel>
</rss>
