Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 12 additions & 36 deletions docs/cyamli-docs.text
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
cyamli (v2.0.0-alpha.5)



cyamli
cyamli

Description:
A command line tool to generate CLI for your app from YAML-based schema.
Expand All @@ -22,9 +21,7 @@ cyamli (v2.0.0-alpha.5)
shows version of this app.




cyamli generate
cyamli generate

Description:
holds subcommands to generate CLI code.
Expand Down Expand Up @@ -68,9 +65,7 @@ cyamli (v2.0.0-alpha.5)
generates CLI for your app written in TypeScript.




cyamli generate cpp
cyamli generate cpp

Description:
generates CLI for your app written in C++ 11.
Expand All @@ -95,9 +90,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate csharp
cyamli generate csharp

Description:
generates CLI for your app written in C#.
Expand All @@ -119,9 +112,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate dart3
cyamli generate dart3

Description:
generates CLI for your app written in Dart.
Expand All @@ -140,9 +131,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate docs
cyamli generate docs

Description:
generates documentation for your CLI app.
Expand All @@ -164,9 +153,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate golang
cyamli generate golang

Description:
generates CLI for your app written in Go.
Expand All @@ -188,9 +175,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate kotlin
cyamli generate kotlin

Description:
generates CLI for your app written in Kotlin.
Expand All @@ -212,9 +197,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate php
cyamli generate php

Description:
generates CLI for your app written in PHP 7.4.
Expand All @@ -236,9 +219,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate python3
cyamli generate python3

Description:
generates CLI for your app written in Python3.
Expand All @@ -257,9 +238,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli generate typescript
cyamli generate typescript

Description:
generates CLI for your app written in TypeScript.
Expand All @@ -278,9 +257,7 @@ cyamli (v2.0.0-alpha.5)
if specified then reads schema file from the path, otherwise reads from stdin.




cyamli version
cyamli version

Description:
shows version of this app.
Expand All @@ -294,4 +271,3 @@ cyamli (v2.0.0-alpha.5)




6 changes: 3 additions & 3 deletions v2/generate/docs/cli_doc.gen.txt.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- /* Go Template */ -}}
{{.Program.Name}}{{ if .Program.Version }}{{" "}}({{.Program.Version}}){{ end }}{{"\n"}}

{{ range .CommandList }}
{{.DocText}}
{{ end }}
{{ range .CommandList -}}
{{.DocText}}
{{- end }}