aboutsummaryrefslogtreecommitdiff
path: root/html2md_cli.yaml
diff options
context:
space:
mode:
authorTong Sun <[email protected]>2020-07-26 11:34:25 -0400
committerTong Sun <[email protected]>2020-07-26 11:34:25 -0400
commitbc50ae281345adfaaa860c603cbd3c4176266794 (patch)
treee3f13994dd8431465911f0d0fd6d438bca2558b7 /html2md_cli.yaml
parent- [*] use cli handling and clis functionalities (diff)
downloadhtml2md-bc50ae281345adfaaa860c603cbd3c4176266794.tar.xz
html2md-bc50ae281345adfaaa860c603cbd3c4176266794.zip
- [*] updated _cli.yaml
Diffstat (limited to 'html2md_cli.yaml')
-rw-r--r--html2md_cli.yaml35
1 files changed, 25 insertions, 10 deletions
diff --git a/html2md_cli.yaml b/html2md_cli.yaml
index 6252dae..81af3db 100644
--- a/html2md_cli.yaml
+++ b/html2md_cli.yaml
@@ -19,10 +19,23 @@ Options:
Flag: "*i,in"
Usage: 'The html/xml file to read from (or stdin)'
+ - Name: Domain
+ Type: 'string'
+ Flag: 'd,domain'
+ Usage: "Domain of the web page, needed for links when --in is not url"
+
- Name: Sel
Type: 'string'
Flag: 's,sel'
- Usage: "CSS/goquery selectors\\n"
+ Usage: "CSS/goquery selectors"
+ Value: "body"
+
+ - Name: Verbose
+ Type: cli.Counter
+ Flag: v,verbose
+ Usage: "Verbose mode (Multiple -v options increase the verbosity.)\\n"
+
+# Options
- Name: OptHeadingStyle
Type: "string"
@@ -69,47 +82,49 @@ Options:
Flag: "opt-link-reference-style"
Usage: "Option LinkReferenceStyle\\n"
+# Plugins
+
- Name: PluginConfluenceAttachments
Type: bool
- Flag: "plugin-conf-attachment"
+ Flag: "A,plugin-conf-attachment"
Usage: Plugin ConfluenceAttachments
- Name: PluginConfluenceCodeBlock
Type: bool
- Flag: "plugin-conf-code"
+ Flag: "C,plugin-conf-code"
Usage: Plugin ConfluenceCodeBlock
- Name: PluginFrontMatter
Type: bool
- Flag: "plugin-frontmatter"
+ Flag: "F,plugin-frontmatter"
Usage: Plugin FrontMatter
- Name: PluginGitHubFlavored
Type: bool
- Flag: "plugin-gfm"
+ Flag: "G,plugin-gfm"
Usage: Plugin GitHubFlavored
- Name: PluginStrikethrough
Type: bool
- Flag: "plugin-strikethrough"
+ Flag: "S,plugin-strikethrough"
Usage: Plugin Strikethrough
- Name: PluginTable
Type: bool
- Flag: "plugin-table"
+ Flag: "T,plugin-table"
Usage: Plugin Table
- Name: PluginTaskListItems
Type: bool
- Flag: "plugin-task-list"
+ Flag: "L,plugin-task-list"
Usage: Plugin TaskListItems
- Name: PluginVimeoEmbed
Type: bool
- Flag: "plugin-vimeo"
+ Flag: "V,plugin-vimeo"
Usage: Plugin VimeoEmbed
- Name: PluginYoutubeEmbed
Type: bool
- Flag: "plugin-youtube"
+ Flag: "Y,plugin-youtube"
Usage: Plugin YoutubeEmbed