diff options
author | Teddy Wing | 2021-02-27 19:57:07 +0100 |
---|---|---|
committer | Teddy Wing | 2021-02-27 19:57:07 +0100 |
commit | d0f67f89cb1e5fd67bb5c6d23c8b44fe06440daf (patch) | |
tree | 79f7c9802c6ddb45b22853a7a9ce6530ebfbba7d /doc/extreload.1.txt | |
parent | 4792097ca56f278344f18a0a78aaca1278fd146e (diff) | |
download | extreload-d0f67f89cb1e5fd67bb5c6d23c8b44fe06440daf.tar.bz2 |
Add man page
Diffstat (limited to 'doc/extreload.1.txt')
-rw-r--r-- | doc/extreload.1.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/extreload.1.txt b/doc/extreload.1.txt new file mode 100644 index 0000000..25dea3c --- /dev/null +++ b/doc/extreload.1.txt @@ -0,0 +1,47 @@ +extreload(1) +============ + +NAME +---- +extreload - Reload Chrome extensions + +SYNOPSIS +-------- +'extreload' [options] EXTENSION_ID... + +DESCRIPTION +----------- +Reload Chrome extensions. All extension IDs given in positional arguments will +be reloaded. + +The '--socket-url' flag must be provided in order to connect to Chrome over the +DevTools Protocol. It will resemble this: + + ws://127.0.0.1:55755/devtools/browser/208ae571-d691-4c98-ad41-3a15d507b656 + +Chrome must be started with the '--remote-debugging-port' flag to enable the +DevTools Protocol, as well as the '--silent-debugger-extension-api' flag to +allow debug access to extensions. For example: + + /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \ + --silent-debugger-extension-api \ + --remote-debugging-port=0 & + +The WebSocket URL will be printed to the console. + +OPTIONS +------- +--socket-url=SOCKET_URL:: + The DevTools Protocol socket URL to connect to Chrome. This flag is required. + +--reload-current-tab:: + Reload the current Chrome tab. + +--debug:: + Print WebSocket debug messages to standard output. + +-h, --help:: + Print usage help. + +-V, --version:: + Print the program version. |