@cside.dev/cli
v0.0.26
Published
CLI tool for cside security.
Readme
@cside.dev/cli
A CLI tool for injecting cside's script into your static HTML files.
Usage
To run the latest version of this tool, use the following command:
npm_config_yes=true npx @cside.dev/cli@latestA little breakdown of what this command means:
npx– Executes the CLI tool without requiring a global install.@cside.dev/cli@latest– Ensures you're using the most up-to-date version.npm_config_yes=true– Suppresses the installation confirmation prompt, making it CI-friendly.
Available Options
To see a list of available options, simply run:
npx @cside.dev/cli --helpwhich will return all the available options:
Usage: @cside.dev/cli [options]
Options:
--version Show version number [boolean]
-d, -f, --dir Directory which include html files to process. By default we'll
try to look for a `.next` and `dist` folder. Also a single file
can be used. [string]
-s, --silent Disable outputting processed html files.
[boolean] [default: false]
-h, --help Show help [boolean]