Permalink
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (35 sloc) 1.28 KB

strip

Source stripping

Usage

$ mod strip <src> [options]

Options

dest

    Describe: Destination directory or file


charset

    Default: utf-8

    Describe: File encoding type


bom

    Type: boolean

    Default: true

    Describe: Strip bom


tab

    Default: false

    Describe: Convert tab (default replace by 4 spaces if enable)


eol

    Default: false

    Describe: Convert line ending (default replace by lf if enable)


code

    Default: false

    Describe: Strip code (default remove alert call if enable)


output

    Default: file

    Describe: Specify output type: file pipe