+13
-1
lines changedFilter options
+13
-1
lines changed Original file line number Diff line number Diff line change
@@ -48,6 +48,17 @@
48
48
base-name (file-name-nondirectory (directory-file-name new-name))
49
49
invalid-name (not (eask-init--check-filename base-name)))))
50
50
(when continue
51
+
(eask-println
52
+
"This utility will walk you through creating an Eask file.
53
+
It only covers the most common items, and tries to guess sensible defaults.
54
+
55
+
See `eask init --help` for definitive documentation on these fields
56
+
and exactly what they do.
57
+
58
+
Use `eask install <pkg>` afterwards to install a package and
59
+
save it as a dependency in the package.json file.
60
+
61
+
Press ^C at any time to quit.")
51
62
;; Starting Eask-file creation!
52
63
(let* ((project-dir (file-name-nondirectory (directory-file-name dir)))
53
64
(project-name (eask-guess-package-name project-dir))
@@ -82,7 +93,8 @@
82
93
"
83
94
package-name version description website keywords
84
95
entry-point emacs-version))
85
-
(prompt (format "About to write to %s:\n\nIs this Okay? " new-name)))
96
+
(prompt (format "About to write to %s:\n\n%s\n\nIs this Okay? "
97
+
new-name content)))
86
98
(when (yes-or-no-p prompt)
87
99
(write-region content nil new-name)
88
100
(find-file new-name))))))
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4