Skip to content

Add output for arbitrary crowdin CLI commands #299

@r-chumachenko

Description

@r-chumachenko

Is your feature request related to a problem? Please describe.
In our flow we need to read Crowd In branches to decide on the next steps. For it, we are using with.command: 'branch list'. Yet I cannot get output of command in the following steps.

Describe the solution you'd like
Extend outputs of action with extra field command_output so that users can handle output.

Describe alternatives you've considered
As blunt as it sounds I've tried adding output redirection to the file like this: with.command: 'branch list > out.txt' or command_args: '> out.txt'. Which obviously fails.

Additional context
I am trying to achieve something similar to native Crowd In + GH integration: pull every branch on Crowd In into respective localization branch in git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions