def show_options():
 feedback = alfred.Feedback()
 feedback.addItem(title='List compatible workflows', autocomplete='list', valid='no')
 feedback.addItem(title='Check for updates', subtitle=('This may take a while...' if (get_updateable_timeout() <= 10.0) else ''), autocomplete='update', valid='no')
 feedback.addItem(title='Reset cache', autocomplete='reset', valid='no')
 feedback.addItem(title='View log', autocomplete='log', valid='no')
 feedback.output()

def show_options ( ) : feedback = alfred . Feedback ( ) feedback . addItem ( title = 'List compatible workflows' , autocomplete = 'list' , valid = 'no' ) feedback . addItem ( title = 'Check for updates' , subtitle = ( 'This may take a while...' if ( get_updateable_timeout ( ) <= 10.0 ) else '' ) , autocomplete = 'update' , valid = 'no' ) feedback . addItem ( title = 'Reset cache' , autocomplete = 'reset' , valid = 'no' ) feedback . addItem ( title = 'View log' , autocomplete = 'log' , valid = 'no' ) feedback . output ( )
displays initial options .