(args)
Show instructions
Show instructions
Show instructions
def show(args):
    """Show instructions"""
    info = config.read_cfg_file(args.cfg, args.cfg_dir)

    if (info is None):
        return

    os.system('clear')
    _print_lnb_info(info)

    if (info['setup']['type'] == defs.standalone_setup_type):
        _print_s400_instructions(info)
    elif (info['setup']['type'] == defs.sdr_setup_type):
        _print_sdr_instructions(info)
    elif (info['setup']['type'] == defs.linux_usb_setup_type):
        _print_usb_rx_instructions(info)
    elif (info['setup']['type'] == defs.sat_ip_setup_type):
        _print_sat_ip_instructions(info)

    _print_next_steps()
def show ( args ) : info = config . read_cfg_file ( args . cfg , args . cfg_dir ) if ( info is None ) : return os . system ( 'clear' ) _print_lnb_info ( info ) if ( info [ 'setup' ] [ 'type' ] == defs . standalone_setup_type ) : _print_s400_instructions ( info ) elif ( info [ 'setup' ] [ 'type' ] == defs . sdr_setup_type ) : _print_sdr_instructions ( info ) elif ( info [ 'setup' ] [ 'type' ] == defs . linux_usb_setup_type ) : _print_usb_rx_instructions ( info ) elif ( info [ 'setup' ] [ 'type' ] == defs . sat_ip_setup_type ) : _print_sat_ip_instructions ( info ) _print_next_steps ( )