mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-11 20:03:58 +02:00
commands: Use consistent style when describing subcommands
Closes #12897 Change-Id: Ib27a4a7b540d45243e6252db769d4b9fb7447718 Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
4985be1a4a
commit
6b5e117a12
@@ -1,7 +1,7 @@
|
||||
# Test the config command.
|
||||
|
||||
hugo config -h
|
||||
stdout 'Print the site configuration'
|
||||
stdout 'Display site configuration'
|
||||
|
||||
|
||||
hugo config
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Test the convert commands.
|
||||
|
||||
hugo convert -h
|
||||
stdout 'Convert your content'
|
||||
stdout 'Convert front matter to another format'
|
||||
hugo convert toJSON -h
|
||||
stdout 'to use JSON for the front matter'
|
||||
hugo convert toTOML -h
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Test the deploy command.
|
||||
|
||||
hugo deploy -h
|
||||
stdout 'Deploy your site to a Cloud provider\.'
|
||||
stdout 'Deploy your site to a cloud provider'
|
||||
mkdir mybucket
|
||||
hugo deploy --target mydeployment --invalidateCDN=false
|
||||
grep 'hello' mybucket/index.html
|
||||
|
@@ -3,7 +3,7 @@
|
||||
env NUM_COMMANDS=44
|
||||
|
||||
hugo gen -h
|
||||
stdout 'A collection of several useful generators\.'
|
||||
stdout 'Generate documentation for your project using Hugo''s documentation engine, including syntax highlighting for various programming languages\.'
|
||||
|
||||
hugo gen doc --dir clidocs
|
||||
checkfilecount $NUM_COMMANDS clidocs
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Test the import jekyll command.
|
||||
# Test the import + import jekyll command.
|
||||
|
||||
hugo import -h
|
||||
stdout 'Import your site from other web site generators like Jekyll\.'
|
||||
stdout 'Import a site from another system'
|
||||
|
||||
hugo import jekyll -h
|
||||
stdout 'hugo import from Jekyll\.'
|
||||
|
Reference in New Issue
Block a user