1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/python3
"""
pgxnclient -- commands dispatcher
The script dispatches commands based on the name, e.g. upon the command::
pgxn foo --arg blah ...
a script called pgxn-foo is searched and executed with remaining arguments.
The commands are looked for by default in the dir ``libexec/pgxnclient/``
sibling of the directory containing this script, then are looked for in the
``PATH`` directories.
"""
# Copyright (C) 2011-2021 Daniele Varrazzo
# This file is part of the PGXN client
from pgxnclient.cli import command_dispatch
command_dispatch()
|