Commands

Commands in the hit program

hit’s goals is to be as simple and intuitive to use as possible. And in that spirit the number of command that hit supports is fairly small. For hitting HTTP requests, hit followed by the request identifier (for example @foo) should be sufficient.

For other situations, there are a few other commands available:

version

Output the version of the hit command.

For example:

hit version

completion

Output the shell completion script for hit.

hit completion

Typically, you would do something like the following to enable bash completion for your shell.

source <(hit completion)