Skip to content

Rename --workflow-dir to --workflows-dir#891

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-6ff275c7-06f7-40fe-980a-2a8e4ed4eb6c
Sep 17, 2025
Merged

Rename --workflow-dir to --workflows-dir#891
pelikhan merged 2 commits into
mainfrom
copilot/fix-6ff275c7-06f7-40fe-980a-2a8e4ed4eb6c

Conversation

Copilot AI commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

This PR renames the --workflow-dir flag to --workflows-dir to better reflect that it specifies a directory containing multiple workflows (plural form).

Changes Made

  • CLI Flag: Updated flag definition from workflow-dir to workflows-dir in the compile command
  • Help Text: Updated examples and flag description to use the new name
  • Error Messages: Updated validation error messages to reference workflows-dir
  • Tests: Updated all test cases and assertions to use the new flag name
  • Makefile: Updated the recompile command to use --workflows-dir

Before

gh aw compile --workflow-dir custom/workflows

After

gh aw compile --workflows-dir custom/workflows

The old flag is no longer supported and will return an "unknown flag" error, ensuring users migrate to the new naming convention. All functionality remains identical - only the flag name has changed for better clarity.

Verification

  • ✅ All existing tests pass
  • ✅ CLI help displays the new flag correctly
  • ✅ Old flag is properly rejected
  • ✅ Error messages use the new flag name
  • ✅ Makefile commands work with new flag

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:

  • api.contoso.com
    • Triggering command: /tmp/go-build3131781709/b279/cli.test -test.testlogfile=/tmp/go-build3131781709/b279/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true (dns block)
    • Triggering command: /tmp/go-build2231786246/b279/cli.test -test.testlogfile=/tmp/go-build2231786246/b279/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true (dns block)

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


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Rename --workflow-dir to --workflows-dir Rename --workflow-dir to --workflows-dir Sep 17, 2025
Copilot AI requested a review from pelikhan September 17, 2025 21:16
@pelikhan pelikhan marked this pull request as ready for review September 17, 2025 21:23
@pelikhan pelikhan merged commit 1d32587 into main Sep 17, 2025
10 of 12 checks passed
@pelikhan pelikhan deleted the copilot/fix-6ff275c7-06f7-40fe-980a-2a8e4ed4eb6c branch September 17, 2025 21:23
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.

2 participants