Skip to content

toyama0919/embulk-formatter-sprintf

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published