beets/test
Thomas Scholtes 14ece207c9 Add completion command
The command prints a shell script that provides completion for the `beet`
command. To test it run `eval "$(beet completion)"` in your shell.

I also included some crude testing for this. The `test/test_completion.sh`
script runs tests in a shell and exit with a non-zero status code if the tests
fail. It assumes that the completion script is already loaded in the executing
shell.

As of now the completion only works for bash 4.1 and newer.
2014-02-20 01:15:03 +01:00
..
rsrc Load plugins from cli config 2014-02-10 17:26:26 +01:00
__init__.py misc. overdue code cleanup 2010-07-09 18:07:15 -07:00
_common.py Revert "Replace path separators from config" 2014-02-13 13:22:45 -08:00
test_art.py tests: silence logging output 2014-01-20 15:58:33 -08:00
test_autotag.py Fix #514: add distance between string and None 2014-01-30 15:23:58 +01:00
test_completion.sh Add completion command 2014-02-20 01:15:03 +01:00
test_datequery.py add some failing tests for date queries 2014-02-14 23:02:51 -08:00
test_dbcore.py Model._parse() class method 2014-02-13 21:29:17 -08:00
test_files.py move Destination method to Item class 2013-09-17 09:09:10 -07:00
test_ihate.py fix ihate tests 2014-02-08 12:20:25 -08:00
test_importer.py Add AutotagStub 2014-02-01 22:55:35 +01:00
test_library.py Revert "Replace path separators from config" 2014-02-13 13:22:45 -08:00
test_mb.py changelog, tests, slight reorg for #187 2013-09-30 11:13:13 -07:00
test_mediafile.py mediafile: optionally save ID3v2.3 tags 2013-10-06 19:53:34 -07:00
test_mediafile_basic.py opus: remove image from test file 2013-09-12 10:16:47 -07:00
test_pipeline.py Add pull() generator to Pipeline 2014-02-01 13:43:05 +01:00
test_player.py happy new year 2013-01-11 10:43:41 -08:00
test_query.py fix numeric queries over empty string (fix #547) 2014-02-17 22:51:53 -05:00
test_template.py happy new year 2013-01-11 10:43:41 -08:00
test_the.py combine TempConfigTestCase and ExtraAsserts 2012-12-15 13:21:09 -08:00
test_ui.py Add completion command 2014-02-20 01:15:03 +01:00
test_ui_importer.py Fix test run with setuptools 2014-02-11 13:24:47 +01:00
test_vfs.py fix VFS tests 2013-04-06 16:35:17 -07:00
test_web.py Fix album retrieval 2014-02-10 17:26:26 +01:00
test_zero.py fix uses of item.dirty and item.record 2013-08-21 10:57:52 -07:00
testall.py Fix python namespaces for test runs 2013-04-07 01:32:47 +02:00