An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# ![](./docs/assets/logo.svg)

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
```