Add helloworld print docs Change-Id: I07da9cd7474bfde0cf76b3350981834178d91e5b
diff --git a/Documentation/ssh-commands/print.md b/Documentation/ssh-commands/print.md new file mode 100644 index 0000000..4a44777 --- /dev/null +++ b/Documentation/ssh-commands/print.md
@@ -0,0 +1,62 @@ +helloworld print +================ + +NAME +---- +helloworld print - Print our helloworld message + +SYNOPSIS +-------- +> ssh -p <port> <host> helloworld print +> [--french] +> [name] + +DESCRIPTION +----------- +Prints "Hello world!" or optionally "Bonjour world!". + +OPTIONS +------- + +--french +> Translate to french. + +--help + +-h +> Display usage information. + +name +> Display given name instead of 'world'. + +ACCESS +------ +Any user who has configured an SSH key. + +SCRIPTING +--------- +This command is intended to be used in scripts. + +EXAMPLES +-------- + +Have the server say hi to the world. + +> $ ssh -p 29418 review.example.com helloworld print + +Have the server say hi to the world in french. + +> $ ssh -p 29418 review.example.com helloworld print --french + +Have the server say hi to you in french. + +> $ ssh -p 29418 review.example.com helloworld print --french \'Revi Ewer\' + +SEE ALSO +-------- + +* [Plugin Development](dev-plugins.html) + +GERRIT +------ +Part of [Gerrit Code Review](index.html)
diff --git a/pom.xml b/pom.xml index 79f0210..8f94171 100644 --- a/pom.xml +++ b/pom.xml
@@ -58,6 +58,14 @@ </configuration> </plugin> </plugins> + <resources> + <resource> + <directory>./</directory> + <includes> + <include>Documentation/**/*</include> + </includes> + </resource> + </resources> </build> <dependencies>