ruby-llenv 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Changelog.md +4 -0
- data/lib/llenv/cli.rb +9 -3
- data/lib/llenv/version.rb +1 -1
- metadata +1 -1
data/Changelog.md
CHANGED
data/lib/llenv/cli.rb
CHANGED
@@ -11,19 +11,25 @@ class LLenv::CLI < Thor
|
|
11
11
|
super
|
12
12
|
end
|
13
13
|
|
14
|
-
desc "list", "List of
|
14
|
+
desc "list", "List of declared LLs"
|
15
15
|
def list
|
16
16
|
check_root_dir!
|
17
17
|
@declare.list
|
18
18
|
end
|
19
19
|
|
20
|
-
desc "
|
20
|
+
desc "update", "Update declared LLs"
|
21
|
+
def update
|
22
|
+
check_root_dir!
|
23
|
+
system("cd #{@root_dir}; git pull")
|
24
|
+
end
|
25
|
+
|
26
|
+
desc "install", "Install specific LLenv"
|
21
27
|
def install
|
22
28
|
check_root_dir!
|
23
29
|
@declare.install(llenv)
|
24
30
|
end
|
25
31
|
|
26
|
-
desc "exec", "Execute command with
|
32
|
+
desc "exec", "Execute command with specific LLenv"
|
27
33
|
def exec(*argv)
|
28
34
|
check_root_dir!
|
29
35
|
@declare.execute(llenv, argv)
|
data/lib/llenv/version.rb
CHANGED