Skip to content

Command logic API #7

Description

@acatton

I would like an API like this:

from spm import run

run('echo', 'header').and_(
run('cat', 'file')).and_(
run('echo', 'footer'))
# This should be equivalent to:
#  $ echo header && cat file && echo footer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions