Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVG Sprite

Takes SVG files and create SVG sprite.

svg-sprite 0.1.0
Takes SVG files and create SVG sprite

USAGE:
    svg-sprite [FLAGS] [OPTIONS] <INPUT> [--] [OUTPUT]

FLAGS:
    -h, --help         
            Prints help information

    -r, --recursive    
            Get files from INPUT recursively

    -V, --version      
            Prints version information

    -v                 
            Show more info about files and generated SVG file


OPTIONS:
    -a, --remove-attribute <remove-attribute>...    
            Remove attributes from SVG file. It works only on first level elements.

    -e, --remove-element <remove-element>...        
            Remove elements from svg based on tag name. It works only on first level.

    -s, --separator <separator>                     
            String placed between each directory in generated id for every SVG file [default: -]

    -t, --tag <tag>                                 
            Tag for every generated child of new created SVG file [default: symbol]  [possible values: g, symbol]


ARGS:
    <INPUT>     
            Source directory where svg files are located

    <OUTPUT>    
            Output file

About

SVG Sprite

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages