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: 5 months 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-31T05:49:09.000Z (over 1 year ago)
- Last Synced: 2023-11-01T05:22:49.888Z (over 1 year 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: 4
- 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
```