Главная
Study mode:
on
1
Intro
2
Design CommandLine Tools People Love
3
What Can We Do
4
Why CommandLine Tools
5
DEP
6
Porter
7
Grammar
8
Precedent
9
Emojis
10
Sentences
11
Emotes
12
Positional arguments
13
Natural sounding commands
14
JSON output
15
Human output
16
Date times
17
Binary name
18
Moute
19
Domain
20
Help
21
Remote
22
Emote
23
Shrug
24
Tasks
25
Travis CLI
26
PubKey
27
Automation
28
Copy Paste
29
Make a CLI
30
Code
31
Taskbased command
32
Cobra
33
Make a package
34
What does it look like
35
Boring wiring
36
Shrug emoticons
37
Markup languages
38
People want things
39
Support all of them
40
Viper
41
Viper App
42
Cobra Wiring
43
Viper Configuration
44
PreRunE
45
Output Buffer
46
Dont be sad
Description:
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.

Design Command-Line Tools People Love

Gopher Academy
Add to list
0:00 / 0:00