#NEWLINE# @ classmethod #NEWLINE# def register_options( cls , register ) : #NEWLINE# #INDENT# super ( GoThriftGen , cls ) . register_options ( register ) #NEWLINE# register ( '--strict' , default = True , fingerprint = True , type = bool , help = 'Run thrift compiler with strict warnings.' ) #NEWLINE# register ( '--gen-options' , advanced = True , fingerprint = True , help = 'Use these apache thrift go gen options.' ) #NEWLINE# register ( '--thrift-import' , advanced = True , help = 'Use this thrift-import gen option to thrift.' ) #NEWLINE# register ( '--thrift-import-target' , advanced = True , help = 'Use this thrift import on symbolic defs.' )