File: explicit_root.py

package info (click to toggle)
python-invoke 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,856 kB
  • sloc: python: 15,986; makefile: 24
file content (19 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
EXPLICIT LYRICS
"""

from invoke import task, Collection


@task(aliases=["other_top"])
def top_level(c):
    pass


@task(aliases=["other_sub"], default=True)
def sub_task(c):
    pass


sub = Collection("sub_level", sub_task)
ns = Collection(top_level, sub)