influxdata / influxdata/kapacitor

The -file param should deserve implementing bash autocompletion

Open
#1,768 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

The -file param should deserve implementing bash autocompletion
Found in 1.4.0

Write this command (use the Tab key to autocomplete):
$ kapacitor define mem_alert -file mem_template_task.yaml

Current status:
-file argument is not offered to be autocompleted

$ kapacitor define mem_alert -
-dbrp -no-reload -template -tick -type -vars
ivan@ivan-HP-ZBook-15-G2:~/influx-data$ kapacitor define mem_alert -

Desired status:
the -file option should be in the list

Contributor guide

Open the contributing guide

Research direction

Start with the CLI entry point for `kapacitor define` and trace how its bash completion options are generated. Verify the `-file` option appears when completing `kapacitor define mem_alert -`; completion should list it alongside the existing flags.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, go
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.