diff options
author | David Ostrovsky <david@ostrovsky.org> | 2014-03-15 13:52:46 +0100 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2014-03-15 18:50:56 +0100 |
commit | 79c4d89dfd39f01c696999631ce8f6d0804d6c1d (patch) | |
tree | f0e80198cf26e369dffc6c88a3bae77f2c9512cb | |
parent | 074c9c4f3da57c83c437e2b1233ed8f8cf3679d1 (diff) |
Plugin documentation: Linkify multiple and root SSH commandsv2.9-rc1
Change-Id: Id0076e9a5b97981abe7240dc94a2802264deaa17
-rw-r--r-- | Documentation/dev-plugins.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/dev-plugins.txt b/Documentation/dev-plugins.txt index 2e9c83cd77..1cdb8fd18d 100644 --- a/Documentation/dev-plugins.txt +++ b/Documentation/dev-plugins.txt @@ -494,6 +494,9 @@ by PrintHello class will be available to users as: $ ssh -p 29418 review.example.com helloworld print ---- +[[multiple-commands]] +=== Multiple Commands bound to one implementation + Multiple SSH commands can be bound to the same implementation class. For example a Gerrit Shell plugin can bind different shell commands to the same implementation class: @@ -532,6 +535,9 @@ $ ssh -p 29418 review.example.com shell ls $ ssh -p 29418 review.example.com shell ps ---- +[[root-level-commands]] +=== Root Level Commands + Single command plugins are also supported. In this scenario plugin binds SSH command to its own name. `SshModule` must inherit from `SingleCommandPluginModule` class: |