Skip to content

Consider Google zx script as alternative to Bash #236

Description

@anna-geller

Feature description

https://github.com/google/zx

Activity

  1. added theissue type on Aug 14, 2025
  2. e-esakman commented on Oct 3, 2026

    @e-esakman

    Hi @fdelbrayelle, I'd like to work on this. I checked node.Commands; it already supports inputFiles and beforeCommands, so it looks like we could install zx and run a .mjs script using the existing task. Did you want a dedicated zx task or an example using the existing task? I'd cover command failures and output files in the tests. Could you assign me this once we agree on the direction?

  3. FreemanBoss commented on Oct 3, 2026

    @FreemanBoss

    I am a devops engineer and I am willing to work on this issue

  4. CodewithJha commented on Oct 4, 2026

    @CodewithJha

    Hi @fdelbrayelle, I'd like to work on this for Kestra Hacktober (no other Kestra issues assigned to me at the moment).

    My suggestion would be a dedicated plugin-script-zx module with zx.Script and zx.Commands, following the same layout as the other language modules (bun, deno, etc.). Script would write the inline code to a .mjs file and run it with zx inside a Node image that has zx preinstalled, so users get $, fetch, fs, etc. without any beforeCommands. I'd add tests for a successful run, a failing command propagating a non-zero exit, and output files.

    If you'd rather just have a documented example using the existing node.Commands, I'm fine with that too. Could you assign it to me once you've picked a direction?

  5. fdelbrayelle commented on Oct 4, 2026

    @fdelbrayelle
    Member

    Thank you @e-esakman you were first here so yes sure, go for it, I'll assign you the issue! 👋

  6. e-esakman commented on Oct 12, 2026

    @e-esakman

    Hiie @fdelbrayelle sorry for being late was busy with my uni work. I raised the pr 464 implementing zx. Can u please review whenever u get a chance?

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

Metadata

Metadata

Assignees

Labels

area/pluginPlugin-related issue or feature requestgood first issueGreat issue for new contributors

Fields

Stage

In review

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions