Skip to content

Commit

Permalink
updated info on 'description' - issue #88
Browse files Browse the repository at this point in the history
  • Loading branch information
mozmark committed Sep 17, 2013
1 parent 8ce2b1c commit 342d9bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/service_commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ You probably want commands to be a bit more interesting than this, though. Here'

In this case, we have a sub-command called 'command' that the user can invoke with 'test command'. The command, when executed, results in a (GET) request being made to the url specified in execAction.

Note: You will need to leave the 'empty' command descriptor (with just the description) at the top; this is to let the command line know what your tool's commands are for.

This still isn't very interesting, though. What if we want to be able to supply a parameter? And what if we want to actually see something from the response? Let's continue by looking at a real world example; a command to create a new session in the ZAP intercepting proxy:

```json
Expand Down

0 comments on commit 342d9bb

Please sign in to comment.