completeValue method

FutureOr<Iterable<String>> completeValue(
  1. String option,
  2. String partial
)

Values for shell completion that only the app knows, such as note ids.

option is the name of the option whose value is being completed, or empty for a positional argument. partial is what is typed so far; the runner keeps only the values that start with it. An entry can add a description after a tab: '42\tBuy milk'. Options with allowed values never reach this. Return nothing to get the shell's file completion. It runs on every Tab: keep it fast, and never prompt, read stdin or write output.

Implementation

FutureOr<Iterable<String>> completeValue(String option, String partial) =>
    const [];