molehill

Crates.iomolehill
lib.rsmolehill
version0.2.2
sourcesrc
created_at2021-06-15 12:17:58.520208
updated_at2021-07-16 09:19:53.501629
descriptionThis tools allows you to generate Digdag workflow templates.
homepage
repositoryhttps://github.com/akito19/molehill
max_upload_size
id410421
size46,486
Akito Kasai (akito19)

documentation

README

Molehill

Molehill is a tool that generates a Digdag workflow template. The template helps to create Digdag workflow for sending a campaign via Mailchimp:

  • Create an Audience.
  • Set merge fields.
  • Upload HTML template.
  • Create a Campaign.

Note that it assumes using Treasure Data workflow.

Install

This tool has required building from source yet.

$ git clone https://github.com/akito19/molehill.git
$ cd molehill
$ cargo install --path .

Usage

You can find options by -h or --help option.

$ molehill -h
Generate Workflow template files.

USAGE:
    molehill [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -o, --output <PATH>      Output file path. The current directory is to default.
    -t, --template <PATH>    Set Digdag workflow template directory.

The tool generates files wihout options like:

$ molehill

If you run molehill without option, generates default files. Thus, when you have already template directory within your machine, --template option is available:

$ molehill -t path/to/template

Note that if you have nested directory within a template directory, the nested one will be ignored.

Development

$ git clone https://github.com/akito19/molehill.git
$ cd molehill
$ cargo build // Build
$ cargo test // Run unit tests

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/akito19/molehill.

Commit count: 36

cargo fmt