diff options
Diffstat (limited to 'spec/fixtures')
| -rw-r--r-- | spec/fixtures/help-build.expected | 13 | ||||
| -rw-r--r-- | spec/fixtures/help-pull.expected | 7 | ||||
| -rw-r--r-- | spec/fixtures/help-scan.expected | 21 |
3 files changed, 32 insertions, 9 deletions
diff --git a/spec/fixtures/help-build.expected b/spec/fixtures/help-build.expected new file mode 100644 index 0000000..f1c5348 --- /dev/null +++ b/spec/fixtures/help-build.expected @@ -0,0 +1,13 @@ +Usage: + spandx build + +Options: + -h, [--help], [--no-help], [--skip-help] # Display usage information + -d, [--directory=DIRECTORY] # Directory to build index in + # Default: .index + -l, [--logfile=LOGFILE] # Path to a logfile + # Default: /dev/null + -i, [--index=INDEX] # The specific index to build + # Default: all + +Build a package index diff --git a/spec/fixtures/help-pull.expected b/spec/fixtures/help-pull.expected new file mode 100644 index 0000000..5d329f4 --- /dev/null +++ b/spec/fixtures/help-pull.expected @@ -0,0 +1,7 @@ +Usage: + spandx pull + +Options: + -h, [--help], [--no-help], [--skip-help] # Display usage information + +Pull the latest offline cache diff --git a/spec/fixtures/help-scan.expected b/spec/fixtures/help-scan.expected index d1c7f56..ce0279a 100644 --- a/spec/fixtures/help-scan.expected +++ b/spec/fixtures/help-scan.expected @@ -2,14 +2,17 @@ Usage: spandx scan LOCKFILE Options: - -h, [--help], [--no-help] # Display usage information - -R, [--recursive], [--no-recursive] # Perform recursive scan - -a, [--airgap], [--no-airgap] # Disable network connections - -l, [--logfile=LOGFILE] # Path to a logfile - # Default: /dev/null - -f, [--format=FORMAT] # Format of report. (table, csv, json) - # Default: table - -p, [--pull], [--no-pull] # Pull the latest cache before the scan - -r, [--require=REQUIRE] # Causes spandx to load the library using require. + -h, [--help], [--no-help], [--skip-help] # Display usage information + -R, [--recursive], [--no-recursive], [--skip-recursive] # Perform recursive scan + # Default: false + -a, [--airgap], [--no-airgap], [--skip-airgap] # Disable network connections + # Default: false + -l, [--logfile=LOGFILE] # Path to a logfile + # Default: /dev/null + -f, [--format=FORMAT] # Format of report. (table, csv, json) + # Default: table + -p, [--pull], [--no-pull], [--skip-pull] # Pull the latest cache before the scan + # Default: false + -r, [--require=REQUIRE] # Causes spandx to load the library using require. Scan a lockfile and list dependencies/licenses |
