← All projects
Project record1 mention
Originally shared on Hacker News

Building Command-Line Interface App from Scratch in Go

A course (working title) teaching how to build command-line applications from scratch in Go without external dependencies (except a DB driver). Instead of using existing libraries like Cobra, learners write their own Cobra-like CLI builder library/package, learn how to design an API for building CLIs, and study the Command-Line Interface Guidelines to create powerful, useful, and easy-to-use command-line tools for daily workflow. The course is in progress with a waitlist via the author's newsletter, offering a 50% discount for the first batch.

Last shared
01 / The problem

What it addresses

Other courses only teach how to build CLI apps using existing libraries like Cobra, so learners don't learn how such command-line builder libraries are built from scratch.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Building Command-Line Interface App from Scratch in Go

    A course (working title) teaching how to build command-line applications from scratch in Go without external dependencies (except a DB driver). Instead of using existing libraries like Cobra, learners write their own Cobra-like CLI builder library/package, learn how to design an API for building CLIs, and study the Command-Line Interface Guidelines to create powerful, useful, and easy-to-use command-line tools for daily workflow. The course is in progress with a waitlist via the author's newsletter, offering a 50% discount for the first batch.

    Problem: Other courses only teach how to build CLI apps using existing libraries like Cobra, so learners don't learn how such command-line builder libraries are built from scratch.

    Posted by @maxoid · Original source ↗

    Source text · @maxoid · · Source ↗

    I'm working on my course "Building Command-Line Interface App from Scratch in Go" (this is a working title). In this course I want to teach how to write CLI application from scratch in Go without any external dependencies (exception: driver for DB). This is not another one course about how to write CLI app using Cobra or any other command-line builder library. Instead, in my course you're gonna write your own Cobra-like command-line builder library (package) to build command-line interface application from scratch.