No commit activity in last 3 years
No release in over 3 years
Formats Sprintf(Java String#format) files for other file output plugins.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.0
>= 10.0
 Project Readme

Sprintf formatter plugin for Embulk

Formats Sprintf(Java String#format) files for other file output plugins.

Overview

  • Plugin type: formatter

Configuration

  • format: format (string, required)
  • column_keys: column_keys (array, required)
  • null_string: null_string (string, default: '')

Example

out:
  type: any output input plugin type
  formatter:
    type: sprintf
    null_string: null
    format: "    - { id: %s, url: '%s' }\n"
    column_keys:
      - id
      - url

Build

$ ./gradlew gem  # -t to watch change of files and rebuild continuously