feat(build): document workflow output aliases

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-02 06:02:26 +00:00
parent 311eb96410
commit 2af4cfbf32
2 changed files with 6 additions and 1 deletions

View file

@ -214,6 +214,11 @@ func TestBuildCmd_RunReleaseWorkflow_Good(t *testing.T) {
assert.Equal(t, workflowOutputPathFlag.Usage, workflowOutputPathSnakeFlag.Usage)
assert.Equal(t, workflowOutputPathFlag.Usage, workflowOutputFlag.Usage)
assert.Equal(t, workflowOutputPathFlag.Usage, workflowOutputSnakeFlag.Usage)
helpText, err := io.Local.Read("/workspace/locales/en.json")
require.NoError(t, err)
assert.Contains(t, helpText, "--workflow-output/")
assert.Contains(t, helpText, "--workflow_output/")
})
t.Run("writes to a custom relative path", func(t *testing.T) {

View file

@ -113,7 +113,7 @@
},
"workflow": {
"short": "Generate the release workflow",
"long": "Write the embedded GitHub Actions release workflow into .github/workflows/release.yml, or pass --path/--workflow-path/--workflow_path/--output-path/--output_path/--output/--workflowOutputPath/--workflow-output-path/--workflow_output_path for a custom location.",
"long": "Write the embedded GitHub Actions release workflow into .github/workflows/release.yml, or pass --path/--workflow-path/--workflow_path/--output-path/--output_path/--output/--workflowOutputPath/--workflow-output/--workflow_output/--workflow-output-path/--workflow_output_path for a custom location.",
"flag": {
"path": "Preferred workflow path input.",
"workflow_path": "Predictable workflow path alias.",