fly set-pipeline

0.0% Savings
0 Commands
0 Tokens saved
2 Tests

Install

tokf install 5c04b6aaeef6ab386013c66c5ef4676c6ac2e60398cf5aaa43af207058765aa3
Safety checks passed

Filter definition

command = "fly set-pipeline"

strip_ansi = true
collapse_empty_lines = true
show_history_hint = true

skip = [
  "^apply configuration\\?",
  "^configuration updated$",
]

[on_success]
output = "✓ pipeline configured\n{output}"

[on_failure]
tail = 20

Examples

failure shows tail of output ~26 tokens → ~26 tokens
Raw output
error: invalid pipeline config
line 1: unknown field 'resouces'
expected one of: resources, jobs, groups
Filtered output
error: invalid pipeline config
line 1: unknown field 'resouces'
expected one of: resources, jobs, groups
success shows configured message and skips prompts ~23 tokens → ~16 tokens (30% saved)
Raw output
apply configuration? [yN]: y
resources:
  - name: source
    type: git
configuration updated
Filtered output
✓ pipeline configured
resources:
  - name: source
    type: git
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters