Opened 15 years ago

Closed 15 years ago

#338 closed enhancement (fixed)

Support for command-line arguments in shp2pgsql-gui

Reported by: pramsey Owned by: mcayland
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: master
Keywords: Cc:

Description

The PgAdmin "plug-in" architecture is basically just a shell exec system, and passes information about the current UI state to the child program on the command-line. See the .ini file description and available arguments here:

http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/trunk/pgadmin3/pgadmin/plugins.ini?rev=7819&view=markup

By supporting arguments for user, database, port, etc, the GUI can be auto-filled-in to an "almost ready to run" state.

Change History (1)

comment:1 by pramsey, 15 years ago

Resolution: fixed
Status: newclosed

Added commandline options

OPTIONS:
  -U <username>
  -W <password>
  -h <host>
  -p <port>
  -d <database>
  -? Display this help screen

to shp2pgsql-gui at r5008

Note: See TracTickets for help on using tickets.