├── .github └── workflows │ └── windows.yml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Commander.png ├── Commander.podspec.json ├── Examples ├── Package.swift ├── Sources │ └── generator │ │ ├── main.swift │ │ └── template.swift ├── hello.swift └── pod.swift ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── Commander │ ├── ArgumentConvertible.swift │ ├── ArgumentDescription.swift │ ├── ArgumentParser.swift │ ├── AsyncCommand.swift │ ├── AsyncCommandType.swift │ ├── AsyncCommands.swift │ ├── AsyncGroup.swift │ ├── Command.swift │ ├── CommandError.swift │ ├── CommandRunner.swift │ ├── CommandType.swift │ ├── Commands.swift │ ├── Error.swift │ ├── Group.swift │ └── GroupError.swift └── Tests ├── .gitignore ├── CommanderTests ├── ArgumentConvertibleSpec.swift ├── ArgumentDescriptionSpec.swift ├── ArgumentParserSpec.swift ├── CommandSpec.swift ├── CommandTypeSpec.swift ├── GroupSpec.swift └── XCTest.swift └── LinuxMain.swift /.github/workflows/windows.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/.github/workflows/windows.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Commander.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Commander.png -------------------------------------------------------------------------------- /Commander.podspec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Commander.podspec.json -------------------------------------------------------------------------------- /Examples/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Examples/Package.swift -------------------------------------------------------------------------------- /Examples/Sources/generator/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Examples/Sources/generator/main.swift -------------------------------------------------------------------------------- /Examples/Sources/generator/template.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Examples/Sources/generator/template.swift -------------------------------------------------------------------------------- /Examples/hello.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Examples/hello.swift -------------------------------------------------------------------------------- /Examples/pod.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Examples/pod.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Commander/ArgumentConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/ArgumentConvertible.swift -------------------------------------------------------------------------------- /Sources/Commander/ArgumentDescription.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/ArgumentDescription.swift -------------------------------------------------------------------------------- /Sources/Commander/ArgumentParser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/ArgumentParser.swift -------------------------------------------------------------------------------- /Sources/Commander/AsyncCommand.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/AsyncCommand.swift -------------------------------------------------------------------------------- /Sources/Commander/AsyncCommandType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/AsyncCommandType.swift -------------------------------------------------------------------------------- /Sources/Commander/AsyncCommands.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/AsyncCommands.swift -------------------------------------------------------------------------------- /Sources/Commander/AsyncGroup.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/AsyncGroup.swift -------------------------------------------------------------------------------- /Sources/Commander/Command.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/Command.swift -------------------------------------------------------------------------------- /Sources/Commander/CommandError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/CommandError.swift -------------------------------------------------------------------------------- /Sources/Commander/CommandRunner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/CommandRunner.swift -------------------------------------------------------------------------------- /Sources/Commander/CommandType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/CommandType.swift -------------------------------------------------------------------------------- /Sources/Commander/Commands.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/Commands.swift -------------------------------------------------------------------------------- /Sources/Commander/Error.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/Error.swift -------------------------------------------------------------------------------- /Sources/Commander/Group.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/Group.swift -------------------------------------------------------------------------------- /Sources/Commander/GroupError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Sources/Commander/GroupError.swift -------------------------------------------------------------------------------- /Tests/.gitignore: -------------------------------------------------------------------------------- 1 | /Packages/ 2 | /.build/ 3 | -------------------------------------------------------------------------------- /Tests/CommanderTests/ArgumentConvertibleSpec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/CommanderTests/ArgumentConvertibleSpec.swift -------------------------------------------------------------------------------- /Tests/CommanderTests/ArgumentDescriptionSpec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/CommanderTests/ArgumentDescriptionSpec.swift -------------------------------------------------------------------------------- /Tests/CommanderTests/ArgumentParserSpec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/CommanderTests/ArgumentParserSpec.swift -------------------------------------------------------------------------------- /Tests/CommanderTests/CommandSpec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/CommanderTests/CommandSpec.swift -------------------------------------------------------------------------------- /Tests/CommanderTests/CommandTypeSpec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/CommanderTests/CommandTypeSpec.swift -------------------------------------------------------------------------------- /Tests/CommanderTests/GroupSpec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/CommanderTests/GroupSpec.swift -------------------------------------------------------------------------------- /Tests/CommanderTests/XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/CommanderTests/XCTest.swift -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kylef/Commander/HEAD/Tests/LinuxMain.swift --------------------------------------------------------------------------------