Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
GoLand for DevOps Engineers
·
Module 4
Building Command-Line Tools
1
Parsing Command-Line Flags with `flag`
Parse command-line flags and arguments using the `flag` package
2
Building CLI Apps with Cobra Subcommands
Build robust CLI applications with subcommands using a library like Cobra
3
File I/O Operations
Perform file system operations like reading from and writing to files
4
Managing External Commands: Input and Output Streams
Execute and manage external commands, capturing their input and output streams
5
JSON & YAML for App Configuration
Parse and generate JSON and YAML for application configuration
6
OS Interaction: Environment Variables & File Paths
Interact with the OS via environment variables and the `path/filepath` package
7
Formatted Terminal Output with `fmt` and `text/tabwriter`
Produce formatted and column-aligned terminal output using `fmt` and `text/tabwriter`
8
Building Cross-Platform Binaries
Create installable, cross-compiled binaries for different operating systems
Previous module
Interfaces and Program Design
Next module
Essential Concurrency Patterns