View Code? Open in Web Editor
NEW
cmdr cxx version, a C++17 header-only command-line parser with hierarchical config data manager here
License: Apache License 2.0
CMake 15.53%
C++ 84.30%
Shell 0.16%
cmdr-cxx's Introduction
- ๐ Hi, Iโm @hedzr
- ๐ Iโm interested in constructing the world with PL
- ๐ฑ Iโm currently learning ..., I'd learned long time, and I'll last it
- ๐๏ธ Iโm looking to collaborate on ...
- ๐ซ How to reach me : my blog, mail me or t me
cmdr-cxx's People
Contributors
Watchers
cmdr-cxx's Issues
Holding.
Help Screen
an evident, clear, and logical help-screen
NEW (improved: tab-stop auto-adjusted, wrapped and aligned description text):
![image-20210221210442215](https://user-images.githubusercontent.com/12786150/108625941-8fb04400-7488-11eb-8403-afc79825745c.png)
~~tree
Dumping the command tree (in test-app-c2
, we used a special description text color instead of light-grey)
![image-20210222130046734](https://user-images.githubusercontent.com/12786150/108664649-2246f680-750e-11eb-8e6d-0437f9797e63.png)
~~debug -DDD
Triple D
enables more dumping
![image-20210211184120423](https://user-images.githubusercontent.com/12786150/107626849-5a8e3f80-6c99-11eb-8e7b-278a50702c8c.png)
Smart Suggestions with Jaro-Winkler Edit Distance
![image-20210212134229303](https://user-images.githubusercontent.com/12786150/107734442-6846d200-6d38-11eb-9adf-9364128637ba.png)
Tail line
, cmdr-ending
NOTE that darker line can be removed by set_no_cmdr_endings()
, and the tail line (Type ...
) by set_no_tail_line ()
.
![image-20210215100547030](https://user-images.githubusercontent.com/12786150/107898103-da582a80-6f75-11eb-9ffc-02cdd2af249d.png)
Tab stop & wrap long line in terminal
-hhh
make the invisible items unhidden (displayed as a darker line)
![image-20210217144353392](https://user-images.githubusercontent.com/12786150/108166299-f652fc00-712e-11eb-8d71-1908072e181b.png)
_