From 75b5d75523d36336af810207c3363044020bba17 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 2 Feb 2021 23:47:10 +0100 Subject: Add config class We'll use this as a storage container for the command line options. --- l/src/config.lisp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 l/src/config.lisp (limited to 'l/src') 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"))) -- cgit v1.2.3