Skip to content

cli-v0.1.0

Choose a tag to compare

@danimarinBG danimarinBG released this 18 Jun 10:33

πŸ”½ Read the summarized changelog here πŸ”½

Added

  • PyPI package giswater-cli with gw console entrypoint (Python 3.9+).
  • Headless schema engine shared with the QGIS plugin (SchemaBuilder, YAML manifests under dbmodel/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.yaml or %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 --check mode 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

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater CLI Documentation