Skip to content

Refactor more commands to return ShellString #373

Closed
@nfischer

Description

@nfischer

This will let each command return some sort of output. So commands like cd() will return output along the lines of:

{ stdout: '', stderr: /*some error message*/, code: 0, ... }

Commands that should probably be left as-is:

  • set() - it has nothing interesting to return, since it never fails
  • test() - returning a boolean as it currently does is probably the right move

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions