diff --git a/.travis.yml b/.travis.yml index 876417e816..27ff36c2ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ before_script: # encrypted variables aren't accessible in PRs script: - pipenv graph - pipenv run test -- pipenv run naucse list_courses # don't remove, there might be timeouts otherwise, see naucse/cli.py for details +- pipenv run naucse list-courses # don't remove, there might be timeouts otherwise, see naucse/cli.py for details - pipenv run naucse freeze --verbose after_script: - echo "Suplementary logs:" diff --git a/naucse/cli.py b/naucse/cli.py index f2db58f822..e828cd887c 100644 --- a/naucse/cli.py +++ b/naucse/cli.py @@ -20,7 +20,7 @@ def cli(app, *, base_url=None, freezer=None): def naucse(): pass - @naucse.command() + @naucse.command(name='list-courses') @click.option("--forks-only", default=False, is_flag=True, help="Only list courses and runs from forks") def list_courses(forks_only):