Prefix

Command
prefix {prefix}
Purpose

Specify a new prefix to be used before any generated tables.

Example

psv prefix #

  • Render a table suitable for use in a shell comment block.
psv prefix //
  • Render a table suitable for use in a C/C++/golang/... comment block

Playground #!/bin/sh # Here is an example of a table to be included in the comments of a shell script: | option | description | - | -h | show help | -v | show version | -d | show debug messages #!/bin/sh # Here is an example of a table to be included in the comments of a shell script: # # Use quotes to add trailing spaces: psv prefix '# ' | option | description | - | -h | show help | -v | show version | -d | show debug messages