specs/git library

Properties

addOptions List<Option>
final
configSuggestions List<FigSuggestion>
final
daemonServices List<FigSuggestion>
final
gitGenerators Map<String, FigGenerator>
Git generators map. Use in git spec as generators: gitGenerators'commits', etc.
final
gitSpec FigSpec
Completion spec for git CLI
final
headSuggestions List<FigSuggestion>
final
optionalCommands Map<String, Map<String, dynamic>>
Git finds these as "git-
final

Functions

filterMessages(String out) String
gitGenerateSpec(List<String> tokens, ExecuteCommandFunction executeShellCommand) Future<FigSpec>
Generates git spec with subcommands from git help -a (external commands), merged with optionalCommands. Uses adapter-provided executeShellCommand; the runtime passes it when invoking generateSpec.
postProcessBranches([PostProcessBranchesOptions options = const PostProcessBranchesOptions()]) List<FigSuggestion> Function(String, [List<String>?])
postProcessTrackedFiles(String out, [List<String>? context]) List<FigSuggestion>