mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #581] feat: Add workflow command for multi-step automation sequences #157
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mithileshchellappan on GitHub (Feb 16, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/581
Summary
Add a
workflowcommand that lets users define named, multi-step automation sequences in.asc/workflow.json. Instead of remembering a sequence ofascand shell commands, users runasc workflow run beta.This is similar to Fastlane lanes or GitHub Actions workflows — composing existing
asccommands and arbitrary shell commands with support for environment variables, conditionals, hooks, sub-workflow calls, dry-run preview, and validation.Example
Commands
asc workflow run <name> [KEY:VALUE ...] [--dry-run] [--file path]asc workflow validate [--file path]asc workflow list [--file path]Features
$VAR/${VAR}expansion"if": "VAR_NAME"skips step when variable is falsy"workflow": "name"withwith:env passing, cycle detection, max depth 16before_all,after_all,errorat the definition level--dry-runpreviews expanded commands without executing--prettyfor indentation)Architecture
internal/workflow/— core library with zero codebase imports (stdlib only), immediately extractable to its own moduleinternal/cli/workflow/— thin CLI adapter using only 3 symbols fromsharedasccommands run as shell subprocesses (sh -c), never as Go function callsTest Coverage