https://github.com/akito19/molehill
This is a command-line tool that enables to generation of Digdag workflow template files.
https://github.com/akito19/molehill
cli digdag rust
Last synced: about 2 months ago
JSON representation
This is a command-line tool that enables to generation of Digdag workflow template files.
- Host: GitHub
- URL: https://github.com/akito19/molehill
- Owner: akito19
- License: apache-2.0
- Created: 2021-06-15T15:44:19.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-26T03:22:59.000Z (almost 4 years ago)
- Last Synced: 2026-02-24T16:32:47.945Z (4 months ago)
- Topics: cli, digdag, rust
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Molehill
Molehill is a tool that generates a [Digdag](https://www.digdag.io/) workflow template. The template helps to create Digdag workflow for sending a campaign via [Mailchimp](https://mailchimp.com/):
- 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 Output file path. The current directory is to default.
-t, --template Set Digdag workflow template directory.
```
The tool generates files wihout options like:
```
$ molehill
```
If you run `molehill` without option, generates [default files](https://github.com/akito19/molehill/tree/main/src/examples).
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.