Skip to content

Commit

Permalink
Remove old "cylc search" command.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Jul 6, 2021
1 parent 9daf2e2 commit 4525202
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 251 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Third beta release of Cylc 8.
### Enhancements

[#4291](https://github.com/cylc/cylc-flow/pull/4291)
- Remove obsolete `cylc edit` command.
- Remove obsolete `cylc edit` and `cylc search` commands.

[#4284](https://github.com/cylc/cylc-flow/pull/4284)
- Make `--color=never` work with `cylc <command> --help`.
Expand Down
2 changes: 1 addition & 1 deletion cylc/flow/etc/cylc-bash-completion
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ _cylc() {
cur="${COMP_WORDS[COMP_CWORD]}"
sec="${COMP_WORDS[1]}"
opts="$(cylc scan -t name 2>/dev/null)"
workflow_cmds="broadcast|bcast|cat-log|check-versions|clean|compare|config|diff|dump|edit|ext-trigger|external-trigger|get-workflow-version|get-cylc-version|graph|hold|insert|install|kill|list|log|ls|tui|pause|ping|play|poll|print|reinstall|release|unhold|reload|remove|report-timings|reset|scan|search|grep|set-verbosity|show|set-outputs|stop|shutdown|single|workflow-state|test-battery|trigger|validate|view|warranty"
workflow_cmds="broadcast|bcast|cat-log|check-versions|clean|compare|config|diff|dump|ext-trigger|external-trigger|get-workflow-version|get-cylc-version|graph|hold|insert|install|kill|list|log|ls|tui|pause|ping|play|poll|print|reinstall|release|unhold|reload|remove|report-timings|reset|scan|set-verbosity|show|set-outputs|stop|shutdown|single|workflow-state|test-battery|trigger|validate|view|warranty"


if [[ ${COMP_CWORD} -eq 1 ]]; then
Expand Down
1 change: 0 additions & 1 deletion cylc/flow/scripts/cylc.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def get_version(long=False):
'external-trigger': 'ext-trigger',
'get-contact': 'get-workflow-contact',
'get-cylc-version': 'get-workflow-version',
'grep': 'search',
'log': 'cat-log',
'ls': 'list',
'shutdown': 'stop',
Expand Down
193 changes: 0 additions & 193 deletions cylc/flow/scripts/search.py

This file was deleted.

1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ cylc.command =
remove = cylc.flow.scripts.remove:main
report-timings = cylc.flow.scripts.report_timings:main
scan = cylc.flow.scripts.scan:cli
search = cylc.flow.scripts.search:main
set-verbosity = cylc.flow.scripts.set_verbosity:main
show = cylc.flow.scripts.show:main
set-outputs = cylc.flow.scripts.set_outputs:main
Expand Down
35 changes: 0 additions & 35 deletions tests/functional/cylc-search/00-basic.t

This file was deleted.

2 changes: 0 additions & 2 deletions tests/functional/cylc-search/00-basic/bin/my-command

This file was deleted.

8 changes: 0 additions & 8 deletions tests/functional/cylc-search/00-basic/flow.cylc

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion tests/functional/cylc-search/test_header

This file was deleted.

0 comments on commit 4525202

Please sign in to comment.