bossy
Makes supporting command line arguments easier
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:25 |
Tags
Installation
nimble install bossy
choosenim install bossy
git clone https://github.com/guzba/bossy
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| bossy | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/guzba/bossy |
|---|---|
| Homepage | https://github.com/guzba/bossy |
| Registry Source | nimble_official |
README
Bossy
nimble install bossy
Bossy is a simple repo that makes working with command line arguments a little easier.
All Bossy does is parse the command line arguments using std/parseopt and give you a simpler interface to work with.
Bossy is great for supporting command line parameters without any magic.
If you want a powerful library for building command line interfaces, Bossy currently isn't that. There are other options on Nimble.
Example
import bossy
## Get the command line arguments, parsed by Bossy
let args = getCommandLineArgs()
## Check if an argument is present
echo "flag" in args
## Get the value for an argument
echo args["port"]
## Get the value for an argument, or use a default value
echo args.getOrDefault("port", "8080")