cli-v0.1.0
π½ Read the summarized changelog here π½
Added
- PyPI package
giswater-cliwithgwconsole entrypoint (Python 3.9+). - Headless schema engine shared with the QGIS plugin (
SchemaBuilder, YAML manifests underdbmodel/manifests/). gw db initβ install PostGIS, pgRouting and required PostgreSQL extensions per database.gw schema main create|update|dropβ ws/ud project schemas with manifest profiles (empty,test,demo, β¦).gw schema addon create|integrate|update|dropβ satellite schemas (utils, cibs, audit, β¦) and parent wiring.gw schema listβ list schemas configured in the active dbmodel.gw network show|updateβ inspect linked topology and run lockstep network upgrades.gw dbmodel install|list|use|statusβ download, cache and switch Giswater SQL releases from plugin ZIPs.gw config get|setβ persistent user settings (~/.config/giswater/config.yamlor%APPDATA%/giswater/).gw manifest validate|listβ validate and enumerate manifest YAML files.gw versionβ report CLI package version and active dbmodel/schema version.- Dbmodel resolution via
--dbmodel-path,GW_DBMODEL_PATH, user config, or sibling checkout (gw dbmodel use dev). - Offline
--checkmode to print the SQL execution plan without connecting to PostgreSQL. - Timing reports and structured log output for automation and CI.
- Legacy command aliases (
create,update,drop,status,init-db,update-network,audit β¦) with stderr deprecation warnings.
Full Changelog: https://github.com/Giswater/giswater_qgis_plugin/releases/tag/cli-v0.1.0