def var_cmd():
print_all = not any(val for _, val in conf.var.opt_vals_())<EOL>if print_all or conf.var.field:<EOL><INDENT>print('<STR_LIT>')<EOL>_layout(phyvars.FIELD, phyvars.FIELD_EXTRA)<EOL>print()<EOL><DEDENT>if print_all or conf.var.sfield:<EOL><INDENT>print('<STR_LIT>')<EOL>_layout(phyvars.SFIELD, {})<EOL>print()<EOL><DEDENT>if print_all or conf.var.rprof:<EOL><INDENT>print('<STR_LIT>')<EOL>_layout(phyvars.RPROF, phyvars.RPROF_EXTRA)<EOL>print()<EOL><DEDENT>if print_all or conf.var.time:<EOL><INDENT>print('<STR_LIT>')<EOL>_layout(phyvars.TIME, phyvars.TIME_EXTRA)<EOL>print()<EOL><DEDENT>if print_all or conf.var.plates:<EOL><INDENT>print('<STR_LIT>')<EOL>_layout(phyvars.PLATES, {})<EOL><DEDENT>
Print a list of available variables.

    See :mod:`stagpy.phyvars` where the lists of variables organized by command
    are defined.