Command-line interface¶
swh scanner scan¶
Scan a source code project to discover files and directories already present in the archive
swh scanner scan [OPTIONS] ROOT_PATH
Options
-
-u
,
--api-url
<API_URL>
¶ URL for the api request
-
-x
,
--exclude
<PATTERN>
¶ Exclude directories using glob patterns (e.g., ‘*.git’ to exclude all .git directories)
-
-f
,
--output-format
<out_fmt>
¶ The output format
- Default
text
- Options
text|json|ndjson|sunburst
-
-i
,
--interactive
¶
Show the result in a dashboard
Arguments
-
ROOT_PATH
¶
Required argument