Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add completion for dependency-check.sh #2916

Merged
merged 4 commits into from
Oct 26, 2020
Merged

Add completion for dependency-check.sh #2916

merged 4 commits into from
Oct 26, 2020

Conversation

jeremylong
Copy link
Owner

Add script for completion for dependency-check.sh so we can more easily select the correct arguments. After installing completion-for-dependency-check.sh (using source completion-for-dependency-check.sh) we can list the arguments using <tab><tab>. The following example lists all of the --disable* arguments:

$ ./dependency-check.sh --disable<tab><tab>
--disableArchive                      --disableCocoapodsAnalyzer            --disableNodeAuditCache               --disablePip
--disableAssembly                     --disableComposer                     --disableNodeJS                       --disablePipfile
--disableAutoconf                     --disableGolangDep                    --disableNugetconf                    --disablePyDist
--disableBundleAudit                  --disableGolangMod                    --disableNuspec                       --disablePyPkg
--disableCentral                      --disableJar                          --disableOpenSSL                      --disableRetireJS
--disableCentralCache                 --disableMixAudit                     --disableOssIndex                     --disableRubygems
--disableCmake                        --disableNodeAudit                    --disableOssIndexCache                --disableSwiftPackageManagerAnalyzer

Consider adding source <path>/completion-for-dependency-check.sh to your .bashrc if you use ODC a lot.

@jeremylong jeremylong added this to the 6.0.3 milestone Oct 23, 2020
@boring-cyborg boring-cyborg bot added the cli changes to the cli label Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli changes to the cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant