Skip to content

Commit

Permalink
Note on listing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
zix99 committed Jul 17, 2024
1 parent a203575 commit d7d90a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/usage/funcsfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ rare filter -m '(\d+)' -e '{double {1}}' access.log
You can load multiple files by providing `--funcs` argument multiple
times, or providing a comma-separated list to `$RARE_FUNC_FILES`

### Testing

To validate that your function(s) are showing up as expected, you
can test them with `rare expr ...` or list them by running
`rare expr --listfuncs`.

## Format

A functions file is key-value pairs of `name` to `expression`. Lines
Expand Down

0 comments on commit d7d90a2

Please sign in to comment.