<s> import sublime_plugin <EOL> from . . padawan import client <EOL> class PadawanGenerateIndexCommand ( sublime_plugin . TextCommand ) : <EOL> def run ( self , edit ) : <EOL> fname = self . view . file_name ( ) <EOL> if fname is None : <EOL> return None <EOL> client . Generate ( fname ) </s>
