npm-help-search.1 926 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .TH "NPM\-HELP\-SEARCH" "1" "August 2021" "" ""
  2. .SH "NAME"
  3. \fBnpm-help-search\fR \- Search npm help documentation
  4. .SS Synopsis
  5. .P
  6. .RS 2
  7. .nf
  8. npm help\-search <text>
  9. .fi
  10. .RE
  11. .SS Description
  12. .P
  13. This command will search the npm markdown documentation files for the
  14. terms provided, and then list the results, sorted by relevance\.
  15. .P
  16. If only one result is found, then it will show that help topic\.
  17. .P
  18. If the argument to \fBnpm help\fP is not a known help topic, then it will
  19. call \fBhelp\-search\fP\|\. It is rarely if ever necessary to call this
  20. command directly\.
  21. .SS Configuration
  22. .SS long
  23. .RS 0
  24. .IP \(bu 2
  25. Type: Boolean
  26. .IP \(bu 2
  27. Default: false
  28. .RE
  29. .P
  30. If true, the "long" flag will cause help\-search to output context around
  31. where the terms were found in the documentation\.
  32. .P
  33. If false, then help\-search will just list out the help topics found\.
  34. .SS See Also
  35. .RS 0
  36. .IP \(bu 2
  37. npm help npm
  38. .IP \(bu 2
  39. npm help help
  40. .RE