Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Writing Command Line Applications in Go

Writing Command Line Applications in Go

47mIntermediate2024-01-18

Authors

Miki Tebeka

Miki Tebeka

CEO at 353Solutions

Course details

Command line applications are used throughout the programming industry. They are easy to combine and automate, quick to use, you can use them over SSH, and you can combine several command line tools to create sophisticated workflows. And Go is an ideal language for writing command line applications—distribution is a single static executable and it’s easy to cross compile. In this course, learn how to write effective command line applications in Go. Instructor Miki Tebeka covers parsing arguments, validation, subcommands, testing, building, shipping, and much more.

Skills covered

GoHelp Desk SkillsWeb Development ToolsIT Help DeskGoogleWeb DevelopmentProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Command-line applications in Go
  • 02 - What you should know
  • 03 - Using Codespaces

1. The Flag Package

  • 04 - Parsing arguments
  • 05 - Providing help
  • 06 - Custom argument types
  • 07 - Environment variables
  • 08 - Subcommands
  • 09 - Challenge - Writing a command-line application
  • 10 - Solution - Writing a Command-line application

2. Testing

  • 11 - Running commands
  • 12 - Supporting redirection
  • 13 - Setting environment variables
  • 14 - Challenge - Write a test
  • 15 - Solution - Write a test

3. Shipping Your Code

  • 16 - Building static applications
  • 17 - Embedding assets
  • 18 - Building for multiple targets
  • 19 - Getting smaller
  • 20 - Adding version information
  • 21 - Continuous Integration

4. Understanding Command-Line Applications

  • 22 - Using the command line
  • 23 - Passing arguments
  • 24 - Seeking help
  • 25 - Pipes and redirects
  • 26 - Signals

Conclusion

  • 27 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal