├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── approve.sh ├── docs.json ├── elm-analyse.json ├── elm.json ├── examples ├── create-cli.js ├── curl ├── ellie │ ├── Terminal.elm │ └── elm-package.json ├── elm-test ├── elm.json ├── git ├── graphqelm ├── greet ├── grep ├── index.html ├── simple ├── src │ ├── .gitignore │ ├── Curl.elm │ ├── ElmTest.elm │ ├── Git.elm │ ├── Graphqelm.elm │ ├── Grep.elm │ ├── Ports.elm │ ├── Simple.elm │ ├── Stdin.elm │ └── Validation.elm └── validation ├── package.json ├── src ├── Cli │ ├── Decode.elm │ ├── ExitStatus.elm │ ├── LowLevel.elm │ ├── Option.elm │ ├── OptionsParser.elm │ ├── OptionsParser │ │ ├── BuilderState.elm │ │ └── MatchResult.elm │ ├── Program.elm │ ├── UsageSpec.elm │ └── Validate.elm ├── Fuzzy.elm ├── Occurences.elm ├── Tokenizer.elm ├── Tokenizer │ └── EqualsSplitter.elm └── TypoSuggestion.elm ├── terminology.png └── tests ├── Cli ├── LowLevelTests.elm └── UsageSpecTests.elm ├── OptionsParserTests.elm ├── Tokenizer └── EqualsSplitterTests.elm ├── TokenizerTests.elm ├── TypoSuggestionTests.elm └── elm-package.json /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/README.md -------------------------------------------------------------------------------- /approve.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/approve.sh -------------------------------------------------------------------------------- /docs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/docs.json -------------------------------------------------------------------------------- /elm-analyse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/elm-analyse.json -------------------------------------------------------------------------------- /elm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/elm.json -------------------------------------------------------------------------------- /examples/create-cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/create-cli.js -------------------------------------------------------------------------------- /examples/curl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('Curl'); 4 | -------------------------------------------------------------------------------- /examples/ellie/Terminal.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/ellie/Terminal.elm -------------------------------------------------------------------------------- /examples/ellie/elm-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/ellie/elm-package.json -------------------------------------------------------------------------------- /examples/elm-test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('ElmTest'); 4 | -------------------------------------------------------------------------------- /examples/elm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/elm.json -------------------------------------------------------------------------------- /examples/git: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('Git'); 4 | -------------------------------------------------------------------------------- /examples/graphqelm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('Graphqelm'); 4 | -------------------------------------------------------------------------------- /examples/greet: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('Simple'); 4 | -------------------------------------------------------------------------------- /examples/grep: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('Grep', { stdin: true }); 4 | -------------------------------------------------------------------------------- /examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/index.html -------------------------------------------------------------------------------- /examples/simple: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('Simple'); 4 | -------------------------------------------------------------------------------- /examples/src/.gitignore: -------------------------------------------------------------------------------- 1 | elm.js 2 | -------------------------------------------------------------------------------- /examples/src/Curl.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Curl.elm -------------------------------------------------------------------------------- /examples/src/ElmTest.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/ElmTest.elm -------------------------------------------------------------------------------- /examples/src/Git.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Git.elm -------------------------------------------------------------------------------- /examples/src/Graphqelm.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Graphqelm.elm -------------------------------------------------------------------------------- /examples/src/Grep.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Grep.elm -------------------------------------------------------------------------------- /examples/src/Ports.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Ports.elm -------------------------------------------------------------------------------- /examples/src/Simple.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Simple.elm -------------------------------------------------------------------------------- /examples/src/Stdin.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Stdin.elm -------------------------------------------------------------------------------- /examples/src/Validation.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/examples/src/Validation.elm -------------------------------------------------------------------------------- /examples/validation: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('./create-cli')('Validation'); 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/package.json -------------------------------------------------------------------------------- /src/Cli/Decode.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/Decode.elm -------------------------------------------------------------------------------- /src/Cli/ExitStatus.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/ExitStatus.elm -------------------------------------------------------------------------------- /src/Cli/LowLevel.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/LowLevel.elm -------------------------------------------------------------------------------- /src/Cli/Option.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/Option.elm -------------------------------------------------------------------------------- /src/Cli/OptionsParser.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/OptionsParser.elm -------------------------------------------------------------------------------- /src/Cli/OptionsParser/BuilderState.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/OptionsParser/BuilderState.elm -------------------------------------------------------------------------------- /src/Cli/OptionsParser/MatchResult.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/OptionsParser/MatchResult.elm -------------------------------------------------------------------------------- /src/Cli/Program.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/Program.elm -------------------------------------------------------------------------------- /src/Cli/UsageSpec.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/UsageSpec.elm -------------------------------------------------------------------------------- /src/Cli/Validate.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Cli/Validate.elm -------------------------------------------------------------------------------- /src/Fuzzy.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Fuzzy.elm -------------------------------------------------------------------------------- /src/Occurences.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Occurences.elm -------------------------------------------------------------------------------- /src/Tokenizer.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Tokenizer.elm -------------------------------------------------------------------------------- /src/Tokenizer/EqualsSplitter.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/Tokenizer/EqualsSplitter.elm -------------------------------------------------------------------------------- /src/TypoSuggestion.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/src/TypoSuggestion.elm -------------------------------------------------------------------------------- /terminology.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/terminology.png -------------------------------------------------------------------------------- /tests/Cli/LowLevelTests.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/tests/Cli/LowLevelTests.elm -------------------------------------------------------------------------------- /tests/Cli/UsageSpecTests.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/tests/Cli/UsageSpecTests.elm -------------------------------------------------------------------------------- /tests/OptionsParserTests.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/tests/OptionsParserTests.elm -------------------------------------------------------------------------------- /tests/Tokenizer/EqualsSplitterTests.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/tests/Tokenizer/EqualsSplitterTests.elm -------------------------------------------------------------------------------- /tests/TokenizerTests.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/tests/TokenizerTests.elm -------------------------------------------------------------------------------- /tests/TypoSuggestionTests.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/tests/TypoSuggestionTests.elm -------------------------------------------------------------------------------- /tests/elm-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dillonkearns/elm-cli-options-parser/HEAD/tests/elm-package.json --------------------------------------------------------------------------------