Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 867 Bytes

File metadata and controls

35 lines (23 loc) · 867 Bytes
icon dot
order 10

Command Line

Use the separate Victor Command Line Interface to create new Ruby scripts, and render SVGs.

Target Image

In the example below, we are creating this ghost image.

Usage Pattern

  1. Run victor init RUBY_FILENAME to create a sample Victor DSL file.
  2. Edit the file.
  3. Run victor render RUBY_FILENAME SVG_FILENAME to render your SVG.

Code

:::code source="/examples/ghost/ghost.rb" :::

!button :icon-mark-github: See this example on GitHub

See Also

{.list-icon}