| icon | dot |
|---|---|
| order | 10 |
Use the separate Victor Command Line Interface to create new Ruby scripts, and render SVGs.
In the example below, we are creating this ghost image.
- Run
victor init RUBY_FILENAMEto create a sample Victor DSL file. - Edit the file.
- Run
victor render RUBY_FILENAME SVG_FILENAMEto render your SVG.
:::code source="/examples/ghost/ghost.rb" :::
!button :icon-mark-github: See this example on GitHub
{.list-icon}
- :icon-dot: Ways to Use Victor :icon-chevron-right: DSL
- :icon-mark-github: Victor CLI source code