Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reubeno/nclap
NClap is a .NET library for parsing command-line arguments and building interactive command shells. It's driven by a declarative attribute syntax, and easy to extend.
https://github.com/reubeno/nclap
argument-parsing command-line-parser csharp dot-net reflection repl
Last synced: 6 days ago
JSON representation
NClap is a .NET library for parsing command-line arguments and building interactive command shells. It's driven by a declarative attribute syntax, and easy to extend.
- Host: GitHub
- URL: https://github.com/reubeno/nclap
- Owner: reubeno
- License: mit
- Created: 2015-07-22T05:02:18.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T04:44:32.000Z (2 months ago)
- Last Synced: 2025-02-14T12:09:34.913Z (6 days ago)
- Topics: argument-parsing, command-line-parser, csharp, dot-net, reflection, repl
- Language: C#
- Homepage:
- Size: 925 KB
- Stars: 53
- Watchers: 5
- Forks: 12
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# .NET Command Line Argument Parser (NClap)
[](https://github.com/reubeno/NClap/actions/workflows/build.yaml)
[](https://www.nuget.org/packages/NClap)
[](https://reubeno.github.io/NClap/LICENSE.txt)
[](https://gitter.im/NClap/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)NClap is a .NET library for parsing command-line arguments and building interactive command shells. It's driven by a declarative attribute syntax, and easy to extend. It's like a lightweight serializer for command-line arguments.
## Getting NClap
The easiest way to consume NClap is by adding its [NuGet package](https://www.nuget.org/packages/NClap) to your project. It is built for use with .NET 4.6.1+ and .NET Core 2.0+.
NClap is shared under the MIT license, as described in [LICENSE.txt](https://reubeno.github.io/NClap/LICENSE.txt).
## The details
- [Basic usage](docs/Usage.md)
- [Mostly complete feature list](docs/Features.md)
- [Commands (a.k.a. verbs)](docs/Commands.md)## Contributing
We welcome contributions of all kinds, whether it be submitting pull requests or even just filing issues or feature requests!
For code contributions, we follow the standard [Github workflow](https://guides.github.com/introduction/flow/).
Please also see our [Code of Conduct](CODE_OF_CONDUCT.md)