This file is indexed.

/usr/share/bash-completion/completions/cylc is in cylc 7.6.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Initial cut of bash completion. Could be smarter.
# Commands list as of : 6.1.0

# Note: remove gpanel. Won't work due to gnomeapplet support missing.
complete -W "\
5to6  all db database preparation help information discovery control utility \
broadast cat-log cat-state check-software check-triggering check-versions \
conditions copy  cycle-point datetime cycletime depend diff compare documentation browse \
dump edit email-suite email-task failed task-failed get-directory get-gui-config \
get-site-config get-global-config get-suite-config get-config \
graph gsummary gui hold import-examples insert \
job-kill job-poll job-submit kill list ls message task-message \
monitor nudge ping poll print purge random rnd refresh register release unhold \
reload remove reregister rename reset restart run \
start scan scp-transfer search grep set-runahead set-verbosity show \
started task-started stop shutdown submit single succeeded task-succeeded suite-state \
test-battery test-db trigger unregister upgrade-db upgrade-run-dir \
validate view warranty \
task hook admin license GPL \
-v --version -h --help \
" -f cylc

CYLC_CATEGORIES=( database preparation information discovery control utility task hook admin license)

# cylc database commands: 
CYLC_DATABASE=(copy cp get-directory print refresh register reregister rename unregister)

# cylc preparation commands:
CYLC_PREPARATION=(5to6 diff compare edit graph jobscript list ls search grep validate view)

# cylc information commands:
CYLC_INFORMATION=(cat-log log cat-state documentation browse dump get-gui-config 
get-site-config get-global-config get-suite-config get-config
gsummary gui gcylc list ls monitor show)

# cylc discovery commands:
CYLC_DISCOVERY=(check-versions ping scan)

# cylc control commands: 
CYLC_CONTROL=(  broadcast bcast depend gui hold insert kill nudge poll purge release unhold reload remove reset restart
run start set-runahead set-verbosity stop shutdown  trigger)

# cylc utility commands:
CYLC_UTILITY=( cycle-point cyclepoint datetime cycletime random rnd scp-transfer suite-state)

# cylc task commands
CYLC_TASK=(failed task-failed job-kill job-poll job-submit message task-message started task-started submit single succeeded task-succeeded)

# cylc hook commands
CYLC_HOOK=(check-triggering email-suite email-task)

# cylc admin commands
CYLC_ADMIN=(check-software import-examples test-battery test-db upgrade-db upgrade-run-dir)

# cylc license commands
CYLC_LICENSE=(conditions warranty)

# Options for subcommands
CYLC_5TO6=(-h --help)
CYLC_SCAN=(-h --help --print-ports --user --host -v --verbose --debug --db --port --use-ssh --no-login --pyro-timeout)