File: nested_or_piped.py

package info (click to toggle)
python-invoke 1.4.1%2Bds-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,704 kB
  • sloc: python: 11,377; makefile: 18; sh: 12
file content (11 lines) | stat: -rw-r--r-- 132 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
from invoke import task


@task
def calls_foo(c):
    c.run("inv -c nested_or_piped foo")


@task
def foo(c):
    c.run("echo meh")