Company
Date Published
Author
Colin McDonnell
Word count
1617
Language
English
Hacker News points
None

Summary

EdgeDB has introduced a new interactive command-line tool, "edgedb project," designed to streamline the setup and management of EdgeDB projects. By upgrading to the latest CLI version, users can convert any directory into an EdgeDB project with the command "edgedb project init," which creates necessary files like dbschema/schema.esdl and edgedb.toml, and links the project to an EdgeDB instance. This eliminates the need for connection flags and simplifies project portability, as EdgeDB's client libraries can automatically connect to the configured instance without requiring hard-coded instance names or environment variables. The tool also facilitates easy configuration for cloned projects, ensuring that database dependencies are as simple to manage as code dependencies through modern package management tools. With "edgedb project," developers benefit from a more intuitive and efficient experience, allowing them to focus on writing and managing their databases with ease.