pwfdf parent sbjson¶
Synopsis¶
pwfdf parent sbjson [options]
Description¶
Returns the sbJSON for the PWFDF parent item.
Example:
pwfdf parent sbjson
Options¶
- -h, --help¶
Displays the command’s help text and exits.
- -t, --show-traceback¶
Shows the full traceback when an error occurs.
- --fields FIELD...¶
Specifies the sbJSON fields that should be queried.
Example:
pwfdf parent sbjson --fields id title summary
- --timeout SECONDS¶
Specifies the maximum allowed amount of time to connect with the ScienceBase server. Raises an error if the command cannot connect in this time frame. Defaults to 15 seconds.
Example:
pwfdf parent sbjson --timeout 60
Logging¶
- -q, --quiet¶
Do not log progress messages to the console.
Example:
pwfdf parent sbjson -q
- -v, --verbose¶
Prints more detailed progress messages to the console. (Useful for debugging).
Example:
pwfdf parent sbjson -v
- --log PATH¶
Logs detailed progress to the indicated file
Example:
pwfdf parent sbjson --log my-file.log