Skip to content

The command line arguments parser with similar command recommendation feature

License

Notifications You must be signed in to change notification settings

Snowapril/cargs

Repository files navigation

cargs

CodeFactor Codacy Badge Ubuntu github action Window github action MacOS github action codecov

cargs is light-weight command line arguments parser library.

In addition to command parser, provide similar command recommendation features like well-known git or npm.

If given command is slightly different with what developer predefined, cargs can provide similar commands with given wrong command

Demo

TBA

Install Conan package manager (if you dont have)

pip3 install conan

How to Build

git clone https://github.com/snowapril/cargs
cd cargs
mkdir build
conan install . -if build --build missing -s build_type=Release
cd build
cmake ..
cmake --build .

dependency

  • doctest[>=2.4.6]

License

The class is licensed under the MIT License:

Copyright (c) 2021 Snowapril

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Packages

No packages published