aboutsummaryrefslogtreecommitdiffstats
path: root/l/src
diff options
context:
space:
mode:
authorTeddy Wing2021-02-02 23:47:10 +0100
committerTeddy Wing2021-02-02 23:47:10 +0100
commit75b5d75523d36336af810207c3363044020bba17 (patch)
tree12769202537aa9169e4c108374397aee0b79c2c8 /l/src
parent1a0c2c421d97f06087fab401676f0904b288bbd2 (diff)
downloadextreload-75b5d75523d36336af810207c3363044020bba17.tar.bz2
Add config class
We'll use this as a storage container for the command line options.
Diffstat (limited to 'l/src')
-rw-r--r--l/src/config.lisp16
1 files changed, 16 insertions, 0 deletions
diff --git a/l/src/config.lisp b/l/src/config.lisp
new file mode 100644
index 0000000..86b77d3
--- /dev/null
+++ b/l/src/config.lisp
@@ -0,0 +1,16 @@
+(in-package :extreload)
+
+(defclass config ()
+ ((socket-url
+ :initarg :socket-url
+ :reader socket-url
+ :documentation "DevTools WebSocket URL")
+ (extension-ids
+ :initarg :extension-ids
+ :reader extension-ids
+ :documentation "Sequence of extension IDs")
+ (reload-current-tab
+ :initarg :reload-current-tab
+ :initform nil
+ :reader reload-current-tab
+ :documentation "True if the current tab should be reloaded")))