GitHub Trends
10.1K subscribers
15.3K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#go #command_line #commands #flags #go #golang #parser #struct #tags

Kong is a tool for parsing command-line inputs in Go programs. It helps you create complex command-line structures with minimal effort. Here’s how it benefits you You define your command-line structure using Go types, and Kong maps the command-line arguments to these types automatically.
- **Auto-Generated Help** You can handle commands either by switching on the command string or by attaching a `Run()` method to each command, making your code more robust.
- **Customization Options** It supports validation and hooks that can be used to perform actions before or after parsing the command-line, giving you more control over the process.

Overall, Kong simplifies the process of creating and managing command-line interfaces in Go, making your development process more efficient.

https://github.com/alecthomas/kong
πŸ‘1
#rust #content_addressed #does_anyone_read_these #memes #p2p #realtime #rust #tags #tagsoftags

Iroh is a tool that helps you connect to other devices quickly and securely using their public keys. It finds the fastest connection path, even if the devices are far apart, and can create direct connections or use relay servers if needed. Iroh uses advanced technology like QUIC for secure and efficient communication. You can use pre-made protocols for tasks like file transfer or network messaging, making it easier to set up and use. This benefits you by providing reliable, fast, and secure connections without needing to write complex code yourself.

https://github.com/n0-computer/iroh
πŸ‘1