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

https://github.com/juanvillacortac/ditto

An extensible CLI tool for code generation ✨
https://github.com/juanvillacortac/ditto

cli codegen go tool

Last synced: 4 months ago
JSON representation

An extensible CLI tool for code generation ✨

Awesome Lists containing this project

README

        

# Ditto ✨🔮 (previously Rosetta)

[![GoDoc](https://godoc.org/github.com/juanvillacortac/ditto?status.svg)](https://godoc.org/github.com/juanvillacortac/ditto)
[![Release CLI](https://github.com/juanvillacortac/ditto/actions/workflows/release.yml/badge.svg)](https://github.com/juanvillacortac/ditto/actions/workflows/release.yml)

An extensible schema-based CLI tool for generic code generation

![](https://c.tenor.com/IA266nP_INIAAAAC/ditto-pokemon.gif)

## Features

* Multiformat (YAML, Protobuf and Json).
* Flexible.
* Based in templates.
* Fast.
* Multiple files generation.
* Multiple languages at same time.
* Configurable.

## Installation

You can compile from source, install from the [releases](https://github.com/juanvillacortac/ditto/releases) or simply install from NPM (the recommended way):

```bash
npm i -g ditto-gen
```

## Documentation

See an [example](https://github.com/juanvillacortac/ditto/tree/main/examples/angular) in action