golangindia / StudyGroup

A virtual study group for Gophers conducted twice a month.
57 stars 3 forks source link

[20 Sep 2018] Proposal: Beginner: Demo: Flags, and Command #7

Closed devdinu closed 6 years ago

devdinu commented 6 years ago

Type: Demo

Level: Beginner

Duration: 45 minutes

Abstract:

We will explore how we can use flags, and Command in package os/exec. Mostly code.

  1. we will set the ground by introducing flags, args and command
  2. explore a sample library which makes use of it gcloud-client
  3. Discuss about other alternate libraries which would make it simple (urfave/cli, envconfig)

Links:

  1. gcloud-client
  2. https://github.com/urfave/cli

Prerequisites

  1. Basics of go ecosystem.
  2. Good to know about flags package

Recommended Learning

  1. https://golang.org/pkg/flag/

Speaker Bio

Name: Dinesh Kumar

Passionate Programmer. Worked in High Scale and performant backend systems in go.

Self Declaration:

Proposed Dates:

20 October 2018