kevinschoon commented on code in PR #2035:
URL: https://github.com/apache/buildstream/pull/2035#discussion_r2219152961


##########
src/buildstream/_frontend/cli.py:
##########
@@ -531,6 +531,79 @@ def build(
         )
 
 
+##################################################################
+#                           Inspect Command                      #
+##################################################################
[email protected](name="inspect", short_help="Inspect Project Information")
[email protected]("-s", "--state", default=False, show_default=True, is_flag=True, 
help="Show information that requires inspecting remote state")
[email protected](
+    "--deps",
+    "-d",
+    default=_PipelineSelection.ALL,
+    show_default=True,
+    type=FastEnumType(
+        _PipelineSelection,
+        [
+            _PipelineSelection.NONE,
+            _PipelineSelection.RUN,
+            _PipelineSelection.BUILD,
+            _PipelineSelection.ALL,
+        ],
+    ),
+    help="The dependencies to show",
+)
[email protected]("elements", nargs=-1, type=click.Path(readable=False))
[email protected]_obj
+def inspect(app, elements, state, deps):

Review Comment:
   I've added support for `--except` in the same way `bst show` works.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to