Skip to content

Improve compile command help text to clarify input/output formats#19988

Merged
pelikhan merged 2 commits intomainfrom
copilot/update-compile-command-help-text
Mar 7, 2026
Merged

Improve compile command help text to clarify input/output formats#19988
pelikhan merged 2 commits intomainfrom
copilot/update-compile-command-help-text

Conversation

Copy link
Contributor

Copilot AI commented Mar 7, 2026

Users—especially new ones—couldn't tell from gh aw compile's short description what the command produces or why it's needed, leading to confusion when edited workflows didn't take effect.

Change

Updated the Short description of the compile command in cmd/gh-aw/main.go:

// Before
Short: "Compile agentic workflows from Markdown to GitHub Actions YAML"

// After
Short: "Compile workflow markdown files (.md) into GitHub Actions workflows (.lock.yml)"

The new text makes the input (.md) and output (.lock.yml) explicit directly in the help listing, without exceeding the 80-character limit.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha json' --ignore-path ../../../.pr**/*.json (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha ACCEPT (http block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

… formats (#issue)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update compile command help text for clarity Improve compile command help text to clarify input/output formats Mar 7, 2026
@pelikhan pelikhan marked this pull request as ready for review March 7, 2026 22:27
Copilot AI review requested due to automatic review settings March 7, 2026 22:27
@pelikhan pelikhan merged commit 046e81c into main Mar 7, 2026
@pelikhan pelikhan deleted the copilot/update-compile-command-help-text branch March 7, 2026 22:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates gh aw compile’s CLI help text to make the command’s input (.md) and output (.lock.yml) formats explicit, reducing confusion about what compilation produces.

Changes:

  • Refined the compile command Short description to mention .md.lock.yml directly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

var compileCmd = &cobra.Command{
Use: "compile [workflow]...",
Short: "Compile agentic workflows from Markdown to GitHub Actions YAML",
Short: "Compile workflow markdown files (.md) into GitHub Actions workflows (.lock.yml)",
Copy link

Copilot AI Mar 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Short help text uses "markdown" lowercase, while the rest of this command’s help and examples consistently refer to the format as "Markdown" (e.g., "Compile all Markdown files" a few lines below). For consistency in CLI help output, consider capitalizing it here as well.

Suggested change
Short: "Compile workflow markdown files (.md) into GitHub Actions workflows (.lock.yml)",
Short: "Compile workflow Markdown files (.md) into GitHub Actions workflows (.lock.yml)",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve compile command help text: clarify what gets produced

3 participants