varslist 0.0.6 → 0.0.7
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.
- checksums.yaml +4 -4
- data/bin/varslist +4 -0
- data/lib/varslist.rb +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1d7241a9064fedd4345223ba66adc0ba6623ea8f576f2dae0e4c53700ef9013
|
4
|
+
data.tar.gz: 6f404ccc9867a09a00015d51f6d61d76bb27456852084e68648c1f9586db881a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dca53197bf5fca8e3b569b94736c252c21441780684e329adae94be13acda4d80f5370be02f56e18bab7a2c92432806a5f08c291d9cf6e8d75e5f90e4ef686df
|
7
|
+
data.tar.gz: 368199a27f4ed8b1306a490cf978d591fb345db76dcdb9950dfe7cbaa778ef70684ea5050dcb1c4e7ab5b5e6668136b762d01f34a14e682d03bce7dfa6a10f95
|
data/bin/varslist
CHANGED
data/lib/varslist.rb
CHANGED
@@ -23,6 +23,13 @@ module Varslist
|
|
23
23
|
end
|
24
24
|
env_use_list
|
25
25
|
end
|
26
|
+
|
27
|
+
def self.print_help
|
28
|
+
puts "Help for Varslist".colorize(:magenta)
|
29
|
+
puts "Use varslist to show all the ENV variables used in all .rb and .erb files"
|
30
|
+
puts "--file = to show file list where the ENV variables are used"
|
31
|
+
puts "--verify = to verify if all the ENV variable are valid"
|
32
|
+
end
|
26
33
|
|
27
34
|
|
28
35
|
def self.check_var_name(line)
|