HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Thiht
go-command
Go2024–2024
Thiht / go-command

go-command

go-command is a lightweight and easy to use library for creating command lines with commands and subcommands.

2Distinct people
2Mentions
1Explicit recommenders
13GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

go-command is a lightweight and easy to use library for creating command lines with commands and subcommands.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

Chi is amazing. I love the philosophy of extending the stdlib instead of writing an alternative. I try to keep that in mind when writing my own libs or helpers now, and I'm…

thiht used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2024-09-30 08:12:11 UTC to 2024-09-30 19:19:01 UTC.

012024-09-30 08:00:00 UTC to 2024-09-30 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 30, 08:002024-09-30 09:00:00 UTC to 2024-09-30 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 10:00:00 UTC to 2024-09-30 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 11:00:00 UTC to 2024-09-30 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 12:00:00 UTC to 2024-09-30 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 13:00:00 UTC to 2024-09-30 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 30, 13:002024-09-30 14:00:00 UTC to 2024-09-30 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 15:00:00 UTC to 2024-09-30 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 16:00:00 UTC to 2024-09-30 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 17:00:00 UTC to 2024-09-30 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 18:00:00 UTC to 2024-09-30 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-30 19:00:00 UTC to 2024-09-30 20:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 30, 19:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 30, 08:002024-09-30 08:00:00 UTC2024-09-30 09:00:00 UTC101
Sep 30, 09:002024-09-30 09:00:00 UTC2024-09-30 10:00:00 UTC000
Sep 30, 10:002024-09-30 10:00:00 UTC2024-09-30 11:00:00 UTC000
Sep 30, 11:002024-09-30 11:00:00 UTC2024-09-30 12:00:00 UTC000
Sep 30, 12:002024-09-30 12:00:00 UTC2024-09-30 13:00:00 UTC000
Sep 30, 13:002024-09-30 13:00:00 UTC2024-09-30 14:00:00 UTC000
Sep 30, 14:002024-09-30 14:00:00 UTC2024-09-30 15:00:00 UTC000
Sep 30, 15:002024-09-30 15:00:00 UTC2024-09-30 16:00:00 UTC000
Sep 30, 16:002024-09-30 16:00:00 UTC2024-09-30 17:00:00 UTC000
Sep 30, 17:002024-09-30 17:00:00 UTC2024-09-30 18:00:00 UTC000
Sep 30, 18:002024-09-30 18:00:00 UTC2024-09-30 19:00:00 UTC000
Sep 30, 19:002024-09-30 19:00:00 UTC2024-09-30 20:00:00 UTC101

What Hacker News says

2 sources
> For example I made a lib to write commands (like cobra or urfave/cli), but based entirely on the `flag` package: https://github.com/Thiht/go-command Looks nice! I'd like an easier way of setting both long and short flags for a command, i.e. --verbose and -v should do the same. Using `flag` I have to declare everything twice to achieve this.
In Some Go web dev notes
thiht·Sep 30, 2024Recommendation phrase
Chi is amazing. I love the philosophy of extending the stdlib instead of writing an alternative. I try to keep that in mind when writing my own libs or helpers now, and I'm very satisfied with the results. For example I made a lib to write commands (like cobra or urfave/cli), but based entirely on the `flag` package: https://github.com/Thiht/go-command
In Some Go web dev notes

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.