Options¶
- -h, --help¶
Displays the command’s help text and exits.
- -t, --show-traceback¶
Shows the full traceback when an error occurs.
Url¶
- --decode¶
Returns a decoded URL, instead of a web-encoded URL. Decoded URLs are more human-readable, but may fail to open in some web browsers.
Example:
pwfdf |command| --decode
- --json¶
Returns a URL for an sbJSON API query, instead of the ScienceBase user interface.
Example:
pwfdf |command| --json
- --fields FIELD...¶
When returning a URL for an sbJSON API query, request specific sbJSON fields in the URL.
Example:
pwfdf |command| --json --fields id title summary