File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ To run **Snapper** using npm, you can use the following command:
5757
5858``` bash
5959npx snapper --help
60+
61+ # Or, if installed globally
62+ snapper --help
6063```
6164
6265This will show you the available options for ** Snapper** . Here's an example output:
@@ -79,6 +82,24 @@ Options:
7982 -h, --help Show help [boolean]
8083```
8184
85+ To run on a Snap:
86+ ``` bash
87+ # Basic scan
88+ snapper --path /path/to/snap
89+
90+ # Ignore detectors when they aren't relevant or too verbose.
91+ snapper --path /path/to/snap --ignoreDetectors detector1,detector2
92+
93+ # Run only specific detectors, useful for development when fixing a specific issue.
94+ snapper --path /path/to/snap --detectors detector1,detector2
95+
96+ # Generate HTML report
97+ snapper --path /path/to/snap --htmlReport
98+
99+ # Log output to a file
100+ snapper --path /path/to/snap --logFile /path/to/logs.txt
101+ ```
102+
82103To run a test case:
83104
84105``` bash
You can’t perform that action at this time.
0 commit comments