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 | |
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')
-rw-r--r-- | doc/swextreload.1 | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/doc/swextreload.1 b/doc/swextreload.1 new file mode 100644 index 0000000..4291460 --- /dev/null +++ b/doc/swextreload.1 @@ -0,0 +1,91 @@ +'\" t +.\" Title: swextreload +.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] +.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> +.\" Date: 11/14/2023 +.\" Manual: \ \& +.\" Source: \ \& +.\" Language: English +.\" +.TH "SWEXTRELOAD" "1" "11/14/2023" "\ \&" "\ \&" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +swextreload \- Reload Chrome extensions +.SH "SYNOPSIS" +.sp +\fIswextreload\fR [options] EXTENSION_ID\&... +.SH "DESCRIPTION" +.sp +Reload Chrome extensions\&. All extension IDs given in positional arguments will be reloaded\&. +.sp +The \fI\-\-socket\-url\fR flag must be provided in order to connect to Chrome over the DevTools Protocol\&. It will resemble this: +.sp +.if n \{\ +.RS 4 +.\} +.nf +ws://127\&.0\&.0\&.1:55755/devtools/browser/208ae571\-d691\-4c98\-ad41\-3a15d507b656 +.fi +.if n \{\ +.RE +.\} +.sp +Chrome must be started with the \fI\-\-remote\-debugging\-port\fR flag to enable the DevTools Protocol, as well as the \fI\-\-silent\-debugger\-extension\-api\fR flag to allow debug access to extensions\&. For example: +.sp +.if n \{\ +.RS 4 +.\} +.nf +/Applications/Google\e Chrome\&.app/Contents/MacOS/Google\e Chrome \e + \-\-silent\-debugger\-extension\-api \e + \-\-remote\-debugging\-port=0 & +.fi +.if n \{\ +.RE +.\} +.sp +The WebSocket URL will be printed to the console\&. +.SH "OPTIONS" +.PP +\-\-socket\-url=SOCKET_URL +.RS 4 +The DevTools Protocol socket URL to connect to Chrome\&. This flag is required\&. +.RE +.PP +\-\-reload\-current\-tab +.RS 4 +Reload the current Chrome tab\&. +.RE +.PP +\-\-debug +.RS 4 +Print WebSocket debug messages to standard output\&. +.RE +.PP +\-h, \-\-help +.RS 4 +Print usage help\&. +.RE +.PP +\-V, \-\-version +.RS 4 +Print the program version\&. +.RE |