File: pgxn

package info (click to toggle)
pgxnclient 1.3.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 672 kB
  • sloc: python: 3,545; sh: 71; makefile: 53
file content (22 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (3)
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()