Rename main function
This commit is contained in:
parent
dda94af474
commit
45ab55bcc0
1 changed files with 2 additions and 2 deletions
|
@ -60,10 +60,10 @@ class __project_codename__:
|
||||||
@click.option('--log-file', '-l', help="File to store all debug messages.")
|
@click.option('--log-file', '-l', help="File to store all debug messages.")
|
||||||
#@click.option("--dummy","-n" is_flag=True, help="Don't do anything, just show what would be done.") # Don't forget to add dummy to parameters of main function
|
#@click.option("--dummy","-n" is_flag=True, help="Don't do anything, just show what would be done.") # Don't forget to add dummy to parameters of main function
|
||||||
@click_config_file.configuration_option()
|
@click_config_file.configuration_option()
|
||||||
def main(debug_level, log_file):
|
def __main__(debug_level, log_file):
|
||||||
object = __project_codename__(debug_level, log_file)
|
object = __project_codename__(debug_level, log_file)
|
||||||
object._log.info('Initialized __project_codename__')
|
object._log.info('Initialized __project_codename__')
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
__main__()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue