lazy_forge 1.0.0 copy "lazy_forge: ^1.0.0" to clipboard
lazy_forge: ^1.0.0 copied to clipboard

IDE de terminal (TUI) em Dart para modelagem de schema com comandos, visualização em tempo real e export SQL.

LazyForge #

LazyForge é uma IDE de terminal (TUI) em Dart para modelagem de schema de banco de dados com fluxo keyboard-driven.

Instalação via pub.dev (após publicação) #

dart pub global activate lazy_forge
lazy_forge

Execução local (desenvolvimento) #

dart pub get
dart run bin/lazy_forge.dart

Com hot reload:

dart --enable-vm-service bin/lazy_forge.dart

Comandos principais #

  • create table <table> [--autoincrement]
  • delete table <table> / drop table <table>
  • add column <table> <column> <type> [as pk] [options(v1|v2)] [description(text)]
  • add columns <table> <col1 type [as pk] ...; col2 type ...>
  • add column <column> type <type> to <table> [as pk] [options(v1|v2)] [description(text)]
  • set pk <table> <column>
  • add fk <table> <column> references <ref_table> <ref_column>
  • rename table <old> to <new>
  • rename column <table> <old> to <new>
  • alter column <table> <column> type <new_type> [options(v1|v2)]
  • set database <postgres|mysql|sqlite>
  • show database
  • show types
  • show tables
  • export [nome_arquivo.sql]
  • history
  • help

Persistência e export #

  • Projetos são salvos em ./lazyforge_projects (diretório atual de execução).
  • Export SQL é salvo no diretório atual.

Bancos suportados #

  • PostgreSQL
  • MySQL
  • SQLite

Licença #

MIT.

0
likes
150
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

IDE de terminal (TUI) em Dart para modelagem de schema com comandos, visualização em tempo real e export SQL.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

nocterm

More

Packages that depend on lazy_forge