https://github.com/planetarium/cocona.docs
A library to generate Cocona commands' documentation easily
https://github.com/planetarium/cocona.docs
cli cocona command-line console csharp docs dotnet dotnet-core
Last synced: 15 days ago
JSON representation
A library to generate Cocona commands' documentation easily
- Host: GitHub
- URL: https://github.com/planetarium/cocona.docs
- Owner: planetarium
- License: mit
- Created: 2022-06-21T06:38:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T21:01:04.000Z (over 1 year ago)
- Last Synced: 2025-05-16T18:44:01.970Z (2 months ago)
- Topics: cli, cocona, command-line, console, csharp, docs, dotnet, dotnet-core
- Language: C#
- Homepage: https://planetarium.github.io/Cocona.Docs/
- Size: 38.1 KB
- Stars: 5
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
A [`Cocona`][Cocona] extension to generate CLI [`Cocona`][Cocona] App's documents easily.
[Cocona]: https://github.com/mayuki/Cocona
## Build
```
$ dotnet build
```## Examples
Just add **one line** to use this extension.
```csharp
[HasSubCommands(typeof(Cocona.Docs.DocumentCommand), "docs")]
```And you can run like the below command on your project:
```
$ dotnet run -- docs
```