aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/client.lisp (renamed from lib/lib.lisp)0
-rw-r--r--lib/oneliner.lisp16
-rw-r--r--lib/package.lisp16
-rw-r--r--lib/prompt.lisp14
-rw-r--r--lib/running.lisp13
-rw-r--r--lib/state.lisp16
-rw-r--r--lib/term.lisp14
-rw-r--r--lib/util.lisp16
-rw-r--r--oneliners.cli.asd7
9 files changed, 110 insertions, 2 deletions
diff --git a/lib/lib.lisp b/lib/client.lisp
index f49201a..f49201a 100644
--- a/lib/lib.lisp
+++ b/lib/client.lisp
diff --git a/lib/oneliner.lisp b/lib/oneliner.lisp
index b7b404b..e96ec22 100644
--- a/lib/oneliner.lisp
+++ b/lib/oneliner.lisp
@@ -1,5 +1,21 @@
;;;; oneliner.lisp -- holds a local representation of onelienrs.
+;; Copyright (C) 2022 Colin Okay
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
(in-package :oneliners.cli)
(defstruct oneliner
diff --git a/lib/package.lisp b/lib/package.lisp
index dd336dc..5baf51e 100644
--- a/lib/package.lisp
+++ b/lib/package.lisp
@@ -1,3 +1,17 @@
+;; Copyright (C) 2022 Colin Okay
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(defpackage #:oneliners.cli.running
@@ -14,7 +28,7 @@
(:export #:prompt))
(defpackage #:oneliners.cli
- (:use :cl)
+ (:use #:cl)
(:import-from #:oneliners.cli.prompt #:prompt)
(:local-nicknames (#:api #:oneliners.api-client)
(#:a #:alexandria)))
diff --git a/lib/prompt.lisp b/lib/prompt.lisp
index 6c847f1..abe6ec1 100644
--- a/lib/prompt.lisp
+++ b/lib/prompt.lisp
@@ -1,5 +1,19 @@
;;;; prompt.lisp -- a function using readlline to collect text from the user
+;; Copyright (C) 2022 Colin Okay
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(in-package :oneliners.cli.prompt)
diff --git a/lib/running.lisp b/lib/running.lisp
index 5f417e4..3289e75 100644
--- a/lib/running.lisp
+++ b/lib/running.lisp
@@ -1,6 +1,19 @@
;;;; running.lisp -- functions for running oneliners
+;; Copyright (C) 2022 Colin Okay
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(in-package :oneliners.cli.running)
diff --git a/lib/state.lisp b/lib/state.lisp
index b98f5ba..b0be21c 100644
--- a/lib/state.lisp
+++ b/lib/state.lisp
@@ -1,5 +1,21 @@
;;;; state.lisp -- functions for dealing with client state
+;; Copyright (C) 2022 Colin Okay
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
(in-package :oneliners.cli)
;;; Config Struct
diff --git a/lib/term.lisp b/lib/term.lisp
index c5b472a..5ce19f0 100644
--- a/lib/term.lisp
+++ b/lib/term.lisp
@@ -1,5 +1,19 @@
;;;; term.lisp -- functions for dealing with the terminal
+;; Copyright (C) 2022 Colin Okay
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(in-package :oneliners.cli.term)
diff --git a/lib/util.lisp b/lib/util.lisp
index 290d541..31e1984 100644
--- a/lib/util.lisp
+++ b/lib/util.lisp
@@ -1,5 +1,21 @@
;;;; util.lisp
+;; Copyright (C) 2022 Colin Okay
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
(in-package :oneliners.cli)
(defun make-temp-file-name ()
diff --git a/oneliners.cli.asd b/oneliners.cli.asd
index 5b0f2e3..688d371 100644
--- a/oneliners.cli.asd
+++ b/oneliners.cli.asd
@@ -13,8 +13,13 @@
:components ((:module "lib"
:components
((:file "package")
+ (:file "running")
+ (:file "term")
(:file "prompt")
- (:file "cli")))
+ (:file "util")
+ (:file "oneliner")
+ (:file "state")
+ (:file "client")))
(:module "app"
:components
((:file "package")