-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.lisp
45 lines (43 loc) · 1.16 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(defpackage :utils
(:use :cl)
(:export :flatten
:string-to-list
:read-from-file
:replace-char-in-string))
(defpackage :shell
(:use :cl)
(:import-from :utils
:string-to-list
:replace-char-in-string)
(:export :print-info
:print-question
:print-success
:print-warning
:print-error
:print-new-line
:execute-in-system
:get-result-from-system
:prompt-y-or-n
:get-list-from-system
:exists-in-system-p
:clear-screen
:get-current-operating-platform
:reboot-system))
(defpackage :main
(:use :cl)
(:import-from :utils
:flatten
:read-from-file)
(:import-from :shell
:print-info
:print-question
:print-success
:print-warning
:print-error
:print-new-line
:clear-screen
:execute-in-system
:prompt-y-or-n
:get-current-operating-platform
:reboot-system)
(:export :main))