├── .gitignore ├── .npmignore ├── .travis.yml ├── .vscode └── settings.json ├── LICENSE.md ├── README.md ├── package.json ├── src ├── definitions │ ├── alias.ts │ ├── app.ts │ ├── command.ts │ ├── description.ts │ ├── flag.ts │ └── index.ts ├── handlers │ ├── callback.ts │ ├── index.ts │ └── promise.ts ├── index.ts ├── run │ ├── callCommand.ts │ ├── filterOptions.ts │ ├── getCommandFlags.ts │ ├── index.ts │ ├── matchCommands.ts │ ├── parseArguments.ts │ └── run.ts ├── types │ ├── Alias.ts │ ├── App.ts │ ├── Command.ts │ ├── Description.ts │ ├── Flag.ts │ └── index.ts └── utils.ts ├── test └── index.ts ├── tsconfig-es2015.json ├── tsconfig-tests.json ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/package.json -------------------------------------------------------------------------------- /src/definitions/alias.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/definitions/alias.ts -------------------------------------------------------------------------------- /src/definitions/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/definitions/app.ts -------------------------------------------------------------------------------- /src/definitions/command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/definitions/command.ts -------------------------------------------------------------------------------- /src/definitions/description.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/definitions/description.ts -------------------------------------------------------------------------------- /src/definitions/flag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/definitions/flag.ts -------------------------------------------------------------------------------- /src/definitions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/definitions/index.ts -------------------------------------------------------------------------------- /src/handlers/callback.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/handlers/callback.ts -------------------------------------------------------------------------------- /src/handlers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/handlers/index.ts -------------------------------------------------------------------------------- /src/handlers/promise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/handlers/promise.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/run/callCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/run/callCommand.ts -------------------------------------------------------------------------------- /src/run/filterOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/run/filterOptions.ts -------------------------------------------------------------------------------- /src/run/getCommandFlags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/run/getCommandFlags.ts -------------------------------------------------------------------------------- /src/run/index.ts: -------------------------------------------------------------------------------- 1 | export * from './run'; -------------------------------------------------------------------------------- /src/run/matchCommands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/run/matchCommands.ts -------------------------------------------------------------------------------- /src/run/parseArguments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/run/parseArguments.ts -------------------------------------------------------------------------------- /src/run/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/run/run.ts -------------------------------------------------------------------------------- /src/types/Alias.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/types/Alias.ts -------------------------------------------------------------------------------- /src/types/App.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/types/App.ts -------------------------------------------------------------------------------- /src/types/Command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/types/Command.ts -------------------------------------------------------------------------------- /src/types/Description.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/types/Description.ts -------------------------------------------------------------------------------- /src/types/Flag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/types/Flag.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/test/index.ts -------------------------------------------------------------------------------- /tsconfig-es2015.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/tsconfig-es2015.json -------------------------------------------------------------------------------- /tsconfig-tests.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/tsconfig-tests.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/reginn/HEAD/tslint.json --------------------------------------------------------------------------------