-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI:
verdi node graph generate
root nodes as arguments (#6427)
Recently, the command was changed to support specifying multiple root nodes. To keep backwards compatibility, the `-N/--nodes` option was added. This led to some pretty awkward behavior though with also the output file being defined as an argument being deprecated in favor of the `-O/--output-file` option. If backwards compatibility wasn't a concern, a better interface would be to take root nodes as positional arguments, which is the standard across `verdi` commands. Since this is a more intuitive and consistent design, it is adopted here despite it breaking backwards compatibility.
- Loading branch information
Showing
2 changed files
with
11 additions
and
49 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