Skip to content

Completion Tip

  • The completion tip is only a helper and can be used as needed.

    • Disable it for all completions: psc menu config enable_tip 0
    • Disable it for a specific completion: psc completion git enable_tip 0
  • General structure of the completion tip: Usage + Description + Example

    txt
    U: install, add [-g, -u] [options] <app>
    This is a description of the command.
    E: install xxx
       add -g xxx
  • Example Analysis:

    1. Usage: Begin with U:
      • command name: install
      • command alias: add
      • required parameters: <app>
        • app is a simple summary of the parameters.
      • optional parameters: -g -u
        • [options]: Some options.
    2. Description: The description of the command.
    3. Example: Begin with E: