Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toolsascode/protomagic

ProtoMagic is a CLI that helps convert database tables into Protocol Buffers files (.proto).
https://github.com/toolsascode/protomagic

api cloud dev developer devops golang grpc opensource proto protobuf software sre

Last synced: 17 days ago
JSON representation

ProtoMagic is a CLI that helps convert database tables into Protocol Buffers files (.proto).

Awesome Lists containing this project

README

        

# ProtoMagic
ProtoMagic is a CLI that helps convert database tables into Protocol Buffers files.

## Documentation
[protomagic CLI](docs/protomagic.md)

## Minimal configuration example
```yaml
databases:
postgresql:
dataSourceName: postgres://postgres:12345@localhost:5432/db-name?sslmode=disable
mysql:
dataSourceName: root:12345@tcp(localhost:3306)/db-name

```

## Complete configuration example

See: [protomagic.yaml](example/configs/.protomagic.yaml)

## ProtoMagic CLI
- Run the command by specifying the configuration file

```shell
protomagic -c ./my-config-file.yaml
```