third_party.pigweed.src/PW_PLUGINS
Anthony DiGirolamo 26ed98abbd pw_console: Create module and entry point
This CL adds the `pw console` plugin command used to invoke
pw console on the command line and the embed() fuction. At
this point it does nothing. Follow up CLs will build up the
user interface and additional functionality.

Change-Id: I564541cf35c87634ece40604df1afe965f4bf601
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/48642
Pigweed-Auto-Submit: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Joe Ethier <jethier@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2021-06-16 02:30:03 +00:00

20 lines
757 B
Plaintext

# The PW_PLUGINS file lists commands that should be included with the pw command
# when it is invoked in this directory or its subdirectories. Commands in this
# file override those registered in parent directories.
#
# Entries in this file have three columns:
#
# <name> <Python module> <function>
#
# The Python package containing that module must be installed in the Pigweed
# virtual environment. The function must have no required arguments and should
# return an int to use as the exit code.
# Pigweed's presubmit check script
heap-viewer pw_allocator.heap_viewer main
package pw_package.pigweed_packages main
presubmit pw_presubmit.pigweed_presubmit main
requires pw_cli.requires main
rpc pw_hdlc.rpc_console main
console pw_console.__main__ main