Design Command-Line Tools People Love
Offered By: Gopher Academy via YouTube
Course Description
Overview
Learn how to design and build command-line tools that developers love to use and maintain in this 41-minute GopherCon 2019 talk by Carolyn Van Slyck. Discover techniques for leveraging popular Go libraries, structuring code for improved reusability and testability, publishing binaries, and creating user-friendly commands. Explore topics such as grammar, precedent, emojis, natural-sounding commands, JSON output, human-readable output, date-time handling, and effective help documentation. Gain insights into automating tasks, implementing task-based commands using Cobra, and configuring applications with Viper. Master the art of creating CLI tools that are both powerful and enjoyable to use.
Syllabus
Intro
Design CommandLine Tools People Love
What Can We Do
Why CommandLine Tools
DEP
Porter
Grammar
Precedent
Emojis
Sentences
Emotes
Positional arguments
Natural sounding commands
JSON output
Human output
Date times
Binary name
Moute
Domain
Help
Remote
Emote
Shrug
Tasks
Travis CLI
PubKey
Automation
Copy Paste
Make a CLI
Code
Taskbased command
Cobra
Make a package
What does it look like
Boring wiring
Shrug emoticons
Markup languages
People want things
Support all of them
Viper
Viper App
Cobra Wiring
Viper Configuration
PreRunE
Output Buffer
Dont be sad
Taught by
Gopher Academy
Related Courses
Разработка веб-сервисов на Go - основы языкаMoscow Institute of Physics and Technology via Coursera Getting Started with Go
University of California, Irvine via Coursera Concurrency in Go
University of California, Irvine via Coursera Functions, Methods, and Interfaces in Go
University of California, Irvine via Coursera Game Thinking: Juego y toma de decisiones
The Pontificia Universidad Javeriana via edX