-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: refer to 'workflow commands' instead of 'commands'
https://cuelang.org/cl/1185798 shows how tricky it is to refer to commands that are declared as part of a _tool.cue "thing" without creating serious confusion with other, well, commands. In patchset 4, Jonathan tried out the term "tool command". This is a bit vague to my mind, but also not as strong as "workflow command". "Workflow" is a better term, more suited to the fact that these commands are part of a (data-driven) workflow. In support of https://cuelang.org/cl/1185798, I'm proposing this change, to amend all references in the cmd/cue documentation from the simple "command" (when it means a command in a _tool.cue fiel) to "workflow command". The intentional "clash" with other commands, like export, comes (as far as I can recall) from the fact that both can and do take inputs (although _tool.cue commands are much more limited: see https://cuelang.org/issue/1325). Whilst there is a non-zero benefit to such overloading of the term, the confusion it creates is to my mind far greater. With or without any improvements suggested in https://cuelang.org/issue/1325 we can stil say that "workflow commands" accept inputs similar to "cue commands" (which can then be references to the cmd/cue commands). Signed-off-by: Paul Jolly <[email protected]> Change-Id: Iccc181e607163ea995c52861b421093a099c0b1d Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1187654 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
Showing
5 changed files
with
72 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters