proxy.golang.org : github.com/dancsecs/szargs
Package szargs provides a minimal and consistent interface for retrieving settings from command-line arguments ([]string) and environment variables. It supports three types of arguments: The package includes built-in parsers for standard Go data types. Usage centers around the Args type, created using: The `programArgs` slice must include the program name as the first element; this is ignored during argument parsing. After retrieving all relevant arguments, the `Args.Done()` method must be called to report an error if any unprocessed arguments remain. This utility reflects a preference for simplicity and clarity in tooling. If it helps your project flow a little more smoothly, it's done its job. This project is dedicated to Reem. Your brilliance, courage, and quiet strength continue to inspire me. Every line is written in gratitude for the light and hope you brought into my life. NOTE: Documentation reviewed and polished with the assistance of ChatGPT from OpenAI.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/dancsecs/szargs
License: GPL-3.0
Latest release: 4 months ago
First release: over 1 year ago
Namespace: github.com/dancsecs
Last synced: 8 days ago