Commandant icon indicating copy to clipboard operation
Commandant copied to clipboard

Type-safe command line argument handling

Results 8 Commandant issues
Sort by recently updated
recently updated
newest added

Implements #153. Opening this PR as a draft for discussion. I've got a simple/dumb implementation of aliases working in mas and you can see the behavior below. The `install` command...

I'm trying to install Sourcery using SPM and Commandant has a dependency on Nimble 8.0.0 and my project has 9.0.0 so the mismatch isn't letting me install.

This idea came up on mas-cli/mas#281 and I'm wondering if there is a simple way to create a 2nd command that is exactly like another without duplicating the 1st command....

question

The error below does not appear when running `pod lib lint` but it does appear while attempting to push a new spec version to trunk. ``` $ pod trunk push...

Since `/usr/bin/which` rejects `-s` argument. Reproducing steps on Ubuntu with SwiftLint: ```terminal.sh-session $ docker run -it --rm norionomura/swiftlint:swift-4.2 bash root@5d3cc0804b2c:/# echo "echo swiftlint-test executed">/usr/bin/swiftlint-test root@5d3cc0804b2c:/# chmod +x /usr/bin/swiftlint-test root@5d3cc0804b2c:/# swiftlint...

I want to create new Xcode project to build a CLI tool. So I open Xcode, I create a new command line tool project (using swift), then I try to...

help wanted

`Unrecognized command: '--help'. See carthage help.` is not as helpful as it could be when parsing commands if the argument that failed to parse contains `help` but was not exactly...

The `--{no-}key` syntax can be fairly limiting. We could support alternatives, like `--with{out}-key`, `--{enable,disable}-key`, etc.

enhancement