1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Fix octodns-* command warning, improve log messages a bit

This commit is contained in:
Ross McFarland
2017-03-27 09:59:42 -07:00
parent 7f0b9df0e3
commit 100688cdc6
7 changed files with 127 additions and 114 deletions

View File

@@ -17,8 +17,8 @@ cmds = (
)
cmds_dir = join(dirname(__file__), 'octodns', 'cmds')
console_scripts = {
'octodns-{name} = octodns.cmds.{name}'.format(name=filename[:-3])
for filename in cmds
'octodns-{name} = octodns.cmds.{name}:main'.format(name=name)
for name in cmds
}
setup(