{
    "mode": "man",
    "parameter": "SPROCKETS",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/SPROCKETS/1/json",
    "generated": "2026-06-15T12:43:07Z",
    "synopsis": "sprockets [options] filename [filename ...]",
    "sections": {
        "NAME": {
            "content": "sprockets - command line tool for Sprockets library.\n\nSprockets  is  a  Ruby library for compiling and serving web assets.  It features declarative\ndependency management for JavaScript and CSS assets, as well as a powerful preprocessor pipe‐\nline that allows you to write assets in languages like CoffeeScript, Sass, SCSS and LESS.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "sprockets [options] filename [filename ...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": [
                {
                    "name": "-r --require",
                    "content": "Require the LIBRARY before doing anything\n",
                    "flag": "-r",
                    "long": "--require"
                },
                {
                    "name": "-I --include",
                    "content": "Adds the directory to the Sprockets load path\n",
                    "flag": "-I",
                    "long": "--include"
                },
                {
                    "name": "-o --output",
                    "content": "Copy provided assets into DIRECTORY\n\n--css-compressor=COMPRESSOR\nUse CSS compressor\n\n--js-compressor=COMPRESSOR\nUse JavaScript compressor\n",
                    "flag": "-o",
                    "long": "--output"
                },
                {
                    "name": "--noenv",
                    "content": "Disables .sprocketsrc file\n",
                    "long": "--noenv"
                },
                {
                    "name": "-h --help",
                    "content": "Shows this help message\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-v --version",
                    "content": "Shows version\n\n\n\nsprockets 2.10.0                            October 2013                                SPROCKETS(1)",
                    "flag": "-v",
                    "long": "--version"
                }
            ]
        }
    },
    "summary": "sprockets - command line tool for Sprockets library.  Sprockets  is  a  Ruby library for compiling and serving web assets.  It features declarative dependency management for JavaScript and CSS assets, as well as a powerful preprocessor pipe‐ line that allows you to write assets in languages like CoffeeScript, Sass, SCSS and LESS.",
    "flags": [
        {
            "flag": "-r",
            "long": "--require",
            "arg": null,
            "description": "Require the LIBRARY before doing anything"
        },
        {
            "flag": "-I",
            "long": "--include",
            "arg": null,
            "description": "Adds the directory to the Sprockets load path"
        },
        {
            "flag": "-o",
            "long": "--output",
            "arg": null,
            "description": "Copy provided assets into DIRECTORY --css-compressor=COMPRESSOR Use CSS compressor --js-compressor=COMPRESSOR Use JavaScript compressor"
        },
        {
            "flag": "",
            "long": "--noenv",
            "arg": null,
            "description": "Disables .sprocketsrc file"
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Shows this help message"
        },
        {
            "flag": "-v",
            "long": "--version",
            "arg": null,
            "description": "Shows version sprockets 2.10.0 October 2013 SPROCKETS(1)"
        }
    ],
    "examples": [],
    "see_also": []
}