Package gbp :: Package scripts :: Module config
[hide private]
[frames] | no frames]

Module config

Query and display config file values

Functions [hide private]
 
build_parser(name)
 
parse_args(argv)
 
parse_cmd_config(command)
Make a command parse it's config files
 
print_cmd_single_value(query, printer)
Print a single configuration value of a command
 
print_cmd_all_values(cmd, printer)
Print all configuration values of a command
 
value_printer(value)
 
main(argv)
Variables [hide private]
  __package__ = 'gbp.scripts'
Function Details [hide private]

print_cmd_single_value(query, printer)

 

Print a single configuration value of a command

Parameters:
  • query - the cmd to print the value for
  • printer - the printer to output the value

print_cmd_all_values(cmd, printer)

 

Print all configuration values of a command

Parameters:
  • cmd - the cmd to print the values for
  • printer - the printer to output the values