Example #1
0
def gen_config(c):
    """ Generate YAML configuration interactively """
    try:
        h = nebula.helper()
        h.create_config_interactive()
        del h
    except Exception as ex:
        print(ex)
Example #2
0
def update_config(
    c, section, field, value=None, yamlfilename=DEFAULT_NEBULA_CONFIG, board_name=None
):
    """ Update or read field of existing yaml config file """
    h = nebula.helper()
    h.update_yaml(
        configfilename=yamlfilename,
        section=section,
        field=field,
        new_value=value,
        board_name=board_name,
    )
Example #3
0
def supported_boards(c, filter=None):
    """ Print out list of supported design names
    """
    h = nebula.helper()
    h.list_supported_boards(filter)