gabledata / recap

Work with your web service, database, and streaming schemas in a single format.
https://recap.build
MIT License
334 stars 24 forks source link

Add `recap add` and `recap remove` CLI commands #385

Closed criccomini closed 1 year ago

criccomini commented 1 year ago

Users can now add and remove systems from ~/.recap/config via the CLI:

$ recap add my_pg_instance postgresql://user:pass@host:1234/some_db
$ recap remove my_pg_instance

The ~/.recap/config file is treated as a .env file. .env files continue to work, and overwrite whatever is set in ~/.recap/config.

Users may also override the location of ~/.recap/config using the RECAP_CONFIG environment variable.