We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5f339b commit a25aef1Copy full SHA for a25aef1
lib/install.rb
@@ -5,14 +5,19 @@
5
6
# Installer runner.
7
class InstallerRunner
8
- # default encoding utf-8, change encode here.
+
9
+ def self.run
10
+ encoding_style
11
+ nyasocom_custom_name
12
+ end
13
14
+ private
15
def self.encoding_style
16
Encoding.default_internal = 'UTF-8'
17
Encoding.default_external = 'UTF-8'
18
end
-
- def self.run
- encoding_style
19
20
+ def self.nyasocom_custom_name
21
one = ARGV[1]
22
FileUtils.mkdir_p("./#{one}")
23
FileUtils.cd("./#{one}")
@@ -22,6 +27,11 @@ def self.run
27
28
FileUtils.rm_rf("./.git")
24
29
FileUtils.rm_rf("./.github")
30
+ puts <<-EOF
31
32
+Used nyasocom_frame to clone nyasocom_oss with any project name.
33
34
+EOF
25
35
26
36
37
0 commit comments