File: simple_ns_list.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 (14 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from invoke import task, Collection


@task
def z_toplevel(c):
    pass


@task
def subtask(c):
    pass


ns = Collection(z_toplevel, Collection("a", Collection("b", subtask)))