Class: Ea::Cli::Command::Render
- Defined in:
- lib/ea/cli/command/render.rb
Overview
ea render NAME FILE [--format=svg|png|pdf]
ea render --all FILE [--output-dir=PATH]
Unified rendering command. Currently supports SVG; PNG and PDF
are routed through SVG intermediate (planned: rsvg-convert /
headless chrome). The original ea svg command is preserved
as a backward-compatible alias.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Ea::Cli::Command::Base
Instance Method Details
#call ⇒ Object
16 17 18 19 20 |
# File 'lib/ea/cli/command/render.rb', line 16 def call return render_all if [:all] render_one end |