mirror of
https://github.com/kennethreitz-archive/plac.git
synced 2026-06-05 23:50:18 +00:00
7 lines
173 B
Python
7 lines
173 B
Python
# example6.py
|
|
def main(dsn, command: ("SQL query", 'option')):
|
|
print('executing %r on %s' % (command, dsn))
|
|
|
|
if __name__ == '__main__':
|
|
import plac; plac.call(main)
|