id = "progressline" name = "progressline" description = "Track the progress of a command in a compact one-line format." executables = ["progressline"] [commands] format = 1 label = "Track progress" description = "Show the latest output of a piped command on a single line. Pipe the command's output into progressline." quality = "ai-draft" base = "fig:progressline" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/progressline.ts" license = "MIT" [[commands.field]] id = "log_all" label = "Log all lines" description = "Log all lines above the progress line." type = "boolean" option = ["--log-all", "-a"] sources = ["fig"] [[commands.field]] id = "static_text" label = "Static text" description = "Display this text instead of the latest stdin data." type = "string" option = ["--static-text", "-t"] sources = ["fig"] [[commands.field]] id = "style" label = "Activity style" type = "enum" option = ["--activity-style", "-s"] choices = [{ value = "dots", label = "Dots" }, { value = "kitt", label = "Kitt" }, { value = "snake", label = "Snake" }] sources = ["fig"] [[commands.field]] id = "log_path" label = "Save original log to" type = "path" option = ["--original-log-path", "-l"] path = { kind = "file", role = "output", must_exist = false } effect = "overwrite" sources = ["fig"] [[commands.field]] id = "log_matches" label = "Log matching lines" description = "Log lines matching this regular expression above the progress line." type = "string" option = ["--log-matches", "-m"] sources = ["fig"] [[commands.task]] id = "track" label = "Track a build" fields = ["static_text", "style", "log_path", "log_matches", "log_all"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["static_text", "style", "log_path", "log_matches", "log_all"]