Skip to content

Support task string shorthand and command string[] shorthand #381

@crusty-voidzero

Description

@crusty-voidzero

Summary

Implement the two config simplifications discussed in Discord:

  1. Allow task shorthand:"some-task": "... command" (equivalent to "some-task": { "command": "... command" })
  2. Allow command to accept string[] as a shorthand for command1 && comand2 && ....

Notes

  • The task string shorthand should keep the same default caching behavior as the object form (run.cache still overrides, default remains true).
  • Docs should make sequencing semantics explicit.
  • These two shorthands can be combined: "some-task": ["cmd1", "cmd2"]
  • Verifiable by plan snapshot tests. (no need for e2e tests)

Metadata

Metadata

Assignees

Labels

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions