diff options
author | Teddy Wing | 2023-11-14 21:20:26 +0100 |
---|---|---|
committer | Teddy Wing | 2023-11-14 21:20:26 +0100 |
commit | f0d64b4c56d6804fdf452a98d67e45b83d66974f (patch) | |
tree | 766699930a4dada504e3f878c82b10c97aa6bd04 /doc/swextreload.1.txt | |
parent | 63938fc62d82d1081ebcba962c21b0356ebeaf03 (diff) | |
download | swextreload-f0d64b4c56d6804fdf452a98d67e45b83d66974f.tar.bz2 |
Add man page
Copy the man page from Extreload and just change the name of the
executable.
Diffstat (limited to 'doc/swextreload.1.txt')
-rw-r--r-- | doc/swextreload.1.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/swextreload.1.txt b/doc/swextreload.1.txt new file mode 100644 index 0000000..31629b7 --- /dev/null +++ b/doc/swextreload.1.txt @@ -0,0 +1,47 @@ +swextreload(1) +============== + +NAME +---- +swextreload - Reload Chrome extensions + +SYNOPSIS +-------- +'swextreload' [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. |