https://github.com/openbullet/interactivecommandline
A library to make shell-based programs
https://github.com/openbullet/interactivecommandline
Last synced: 5 months ago
JSON representation
A library to make shell-based programs
- Host: GitHub
- URL: https://github.com/openbullet/interactivecommandline
- Owner: openbullet
- License: mit
- Created: 2019-06-09T23:18:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-30T10:51:02.000Z (almost 5 years ago)
- Last Synced: 2025-04-09T20:44:10.934Z (over 1 year ago)
- Language: C#
- Size: 47.9 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# InteractiveCommandLine
A library to make shell-based programs, based on the amazing [ReadLine](https://github.com/tonerdo/readline) library.
# Usage
Check out the [Example](https://github.com/openbullet/InteractiveCommandLine/blob/master/Example/Program.cs) console program.
# Parameters
Parameters can be positional (no need to specify their name) or not.
Non-positional parameters must be specified with `--name value` or `-n value` if their name is a single character.
Bool parameters do not need a value, they just need to be present like `--bool`.
# TODO
- autocompletion of double quotes in files/folders with spaces
- multiple aliases for command names and parameter names
- parameter aggregation e.g. -xvcf
- mutually exclusive parameters
- catch Ctrl+C to quit