Skip to content

Commit b095dbe

Browse files
authored
Merge pull request #14 from jan-janssen/function_rename
Rename main() to command_line_parser()
2 parents d288d1c + a7df079 commit b095dbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyauthenticator/__main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
)
1212

1313

14-
def main():
14+
def command_line_parser():
1515
"""
1616
Main function primarly used for the command line interface
1717
"""
@@ -46,4 +46,4 @@ def main():
4646

4747

4848
if __name__ == "__main__":
49-
main()
49+
command_line_parser()

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
cmdclass=versioneer.get_cmdclass(),
2424
entry_points={
2525
"console_scripts": [
26-
'pyauthenticator=pyauthenticator.__main__:main'
26+
'pyauthenticator=pyauthenticator.__main__:command_line_parser'
2727
]
2828
}
2929
)

0 commit comments

Comments
 (0)