Sha256: 8bb919bb1f2cfe52d0e00066609e74681592c633210a902e1aa17d1cdbb1f8c7

Contents?: true

Size: 620 Bytes

Versions: 6

Compression:

Stored size: 620 Bytes

Contents

# Kindlegen

Easy to install kindlegen command via gem.

When you run this gem, it will download a tarball of kindlegen from amazon.com and extract it. Then you can find the command file in "$GEMPATH/bin".

## Using from Ruby

Require `kindlegen`, then run kindlegen commands.

### Kindlegen.command

Returns the path of the kindlegen command.

### Kindlegen.run(*args)

Runs the kindlegen command with specified parameters.

### Example
    require 'kindlegen'
    stdout, stderr, status = Kindlegen.run("sample.opf", "-o", "sample.mobi")
    if status == 0
      puts stdout
    else
      $stderr.puts stderr
    end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kindlegen-3.1.1 README.md
kindlegen-3.1.0 README.md
kindlegen-3.0.5 README.md
kindlegen-3.0.4 README.md
kindlegen-3.0.3 README.md
kindlegen-3.0.2 README.md