mysh 0.6.11 → 0.6.17
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/README.md +23 -3
- data/lib/mysh.rb +15 -6
- data/lib/mysh/{internal/action.rb → action.rb} +8 -8
- data/lib/mysh/{internal/action_pool.rb → action_pool.rb} +8 -8
- data/lib/mysh/{internal/actions/command_line.rb → command_line.rb} +10 -10
- data/lib/mysh/{internal/actions/command_line → command_line}/debug.rb +9 -11
- data/lib/mysh/command_line/history.rb +61 -0
- data/lib/mysh/{internal/actions/command_line → command_line}/init.rb +8 -8
- data/lib/mysh/{internal/actions/command_line → command_line}/load.rb +5 -5
- data/lib/mysh/{internal/actions/command_line → command_line}/pause.rb +6 -8
- data/lib/mysh/{internal/actions/command_line → command_line}/post_prompt.rb +10 -12
- data/lib/mysh/{internal/actions/command_line → command_line}/pre_prompt.rb +10 -12
- data/lib/mysh/{internal/actions/command_line → command_line}/prompt.rb +9 -10
- data/lib/mysh/command_line/quit.rb +19 -0
- data/lib/mysh/{internal/actions/command_line → command_line}/usage.rb +4 -4
- data/lib/mysh/external.rb +3 -4
- data/lib/mysh/globalize.rb +5 -14
- data/lib/mysh/handlebars.rb +1 -3
- data/lib/mysh/handlebars/{string.rb → eval_handlebars.rb} +5 -3
- data/lib/mysh/{internal/actions/help → help}/env.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/expr.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/gem.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/gls.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/h_o_h.txt +1 -1
- data/lib/mysh/{internal/actions/help → help}/hbar.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/help.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/history.txt +7 -0
- data/lib/mysh/{internal/actions/help → help}/init.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/kbd.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/math.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/mls.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/quick.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/ruby.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/show.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/term.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/timed.txt +0 -0
- data/lib/mysh/help/type.txt +28 -0
- data/lib/mysh/{internal/actions/help → help}/types.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/usage.txt +0 -0
- data/lib/mysh/{internal/actions/help → help}/vars.txt +4 -4
- data/lib/mysh/input_wrapper.rb +13 -13
- data/lib/mysh/internal.rb +20 -8
- data/lib/mysh/internal/{actions/cancel.rb → cancel.rb} +0 -0
- data/lib/mysh/internal/{actions/cd.rb → cd.rb} +2 -2
- data/lib/mysh/internal/{actions/comment.rb → comment.rb} +2 -2
- data/lib/mysh/internal/{actions/elapsed.rb → elapsed.rb} +2 -2
- data/lib/mysh/internal/{actions/exit.rb → exit.rb} +0 -0
- data/lib/mysh/internal/{actions/gls.rb → gls.rb} +6 -7
- data/lib/mysh/internal/{actions/help.rb → help.rb} +7 -9
- data/lib/mysh/internal/{actions/history.rb → history.rb} +10 -9
- data/lib/mysh/internal/load.rb +45 -0
- data/lib/mysh/internal/{actions/mls.rb → mls.rb} +2 -2
- data/lib/mysh/internal/{actions/pwd.rb → pwd.rb} +1 -1
- data/lib/mysh/internal/{actions/say.rb → say.rb} +1 -1
- data/lib/mysh/internal/{actions/show.rb → show.rb} +7 -6
- data/lib/mysh/internal/{actions/help → support}/sub_help.rb +9 -7
- data/lib/mysh/internal/type.rb +38 -0
- data/lib/mysh/internal/{actions/vars.rb → vars.rb} +8 -8
- data/lib/mysh/{init.rb → load_init_file.rb} +3 -3
- data/lib/mysh/process.rb +7 -7
- data/lib/mysh/quick.rb +3 -3
- data/lib/mysh/shell_variables.rb +9 -4
- data/lib/mysh/shell_variables/evaluate.rb +2 -11
- data/lib/mysh/shell_variables/shell_variable_keeper.rb +6 -7
- data/lib/mysh/shell_variables/shell_variable_store.rb +13 -14
- data/lib/mysh/{internal/actions/show → show}/env.rb +1 -1
- data/lib/mysh/{internal/actions/show → show}/gem.rb +0 -0
- data/lib/mysh/{internal/actions/show → show}/ruby.rb +0 -0
- data/lib/mysh/{internal/actions/show → show}/term.rb +0 -0
- data/lib/mysh/sources/console.rb +11 -7
- data/lib/mysh/sources/parse.rb +7 -10
- data/lib/mysh/sources/smart_auto_complete.rb +5 -5
- data/lib/mysh/sources/string.rb +6 -6
- data/lib/mysh/string_helpers.rb +37 -0
- data/lib/mysh/system.rb +2 -2
- data/lib/mysh/user_input.rb +5 -9
- data/lib/mysh/version.rb +4 -4
- data/mysh.gemspec +5 -4
- data/tests/my_shell_tests.rb +13 -0
- metadata +81 -68
- data/lib/mysh/internal/actions/actions_path.rb +0 -15
- data/lib/mysh/internal/actions/command_line/quit.rb +0 -19
- data/lib/mysh/internal/actions/load.rb +0 -36
- data/lib/mysh/internal/actions/type.rb +0 -22
- data/lib/mysh/internal/manage.rb +0 -20
- data/lib/mysh/internal/to_file_spec.rb +0 -26
- data/lib/mysh/pre_processor.rb +0 -11
@@ -1,12 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
|
3
|
+
# An adaptive source for auto-complete.
|
4
4
|
module Mysh
|
5
5
|
|
6
|
-
|
6
|
+
# An array as the source for auto-complete.
|
7
7
|
class SmartSource
|
8
8
|
|
9
|
-
#Create a new file/folder auto-data source. NOP
|
9
|
+
# Create a new file/folder auto-data source. NOP
|
10
10
|
def initialize(options)
|
11
11
|
@prefix = options[:prefix]
|
12
12
|
@auto_source = MiniReadline::AutoFileSource.new(options)
|
@@ -14,7 +14,7 @@ module Mysh
|
|
14
14
|
@active_source = nil
|
15
15
|
end
|
16
16
|
|
17
|
-
#Construct a new data list for auto-complete
|
17
|
+
# Construct a new data list for auto-complete
|
18
18
|
def rebuild(str)
|
19
19
|
if /(?<=\s|^)\$[a-z][a-z0-9_]*\z/ =~ str
|
20
20
|
sym = $MATCH[1..-1].to_sym
|
@@ -26,7 +26,7 @@ module Mysh
|
|
26
26
|
@active_source.rebuild(str)
|
27
27
|
end
|
28
28
|
|
29
|
-
#Get the next string for auto-complete
|
29
|
+
# Get the next string for auto-complete
|
30
30
|
def next
|
31
31
|
@active_source ? @active_source.next : @str
|
32
32
|
end
|
data/lib/mysh/sources/string.rb
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
|
3
|
+
# The mysh string command source.
|
4
4
|
module Mysh
|
5
5
|
|
6
|
-
#A wrapper for a string with mysh commands.
|
6
|
+
# A wrapper for a string with mysh commands.
|
7
7
|
class StringSource
|
8
8
|
|
9
|
-
#Setup the string source.
|
9
|
+
# Setup the string source.
|
10
10
|
def initialize(str)
|
11
11
|
@eoi = false
|
12
12
|
@read_pt = str.lines.each
|
13
13
|
end
|
14
14
|
|
15
|
-
#Get the initial line of command input.
|
15
|
+
# Get the initial line of command input.
|
16
16
|
def get_command(_str="")
|
17
17
|
@read_pt.next
|
18
18
|
rescue StopIteration
|
@@ -20,10 +20,10 @@ module Mysh
|
|
20
20
|
"\n"
|
21
21
|
end
|
22
22
|
|
23
|
-
#Set up an alias as these two are identical.
|
23
|
+
# Set up an alias as these two are identical.
|
24
24
|
alias :get_command_extra :get_command
|
25
25
|
|
26
|
-
#Have we reached the end of input?
|
26
|
+
# Have we reached the end of input?
|
27
27
|
def eoi?
|
28
28
|
@eoi
|
29
29
|
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
# Monkey patches for Mysh string data.
|
4
|
+
class String
|
5
|
+
|
6
|
+
# Extract Boolean data from this string.
|
7
|
+
def extract_boolean
|
8
|
+
self !~ /\A(false|no|off)?\z/i
|
9
|
+
end
|
10
|
+
|
11
|
+
# Make the file name fit the local system.
|
12
|
+
def to_host_spec
|
13
|
+
self.dress_up_slashes
|
14
|
+
.dress_up_quotes
|
15
|
+
end
|
16
|
+
|
17
|
+
# Dress up slashes and backslashes.
|
18
|
+
def dress_up_slashes
|
19
|
+
MiniTerm.windows? ? self.gsub("/", "\\") : self
|
20
|
+
end
|
21
|
+
|
22
|
+
# Dress up in quotes if needed.
|
23
|
+
def dress_up_quotes
|
24
|
+
self[' '] ? "\"#{self}\"" : self
|
25
|
+
end
|
26
|
+
|
27
|
+
# Make the file name fit the standard notation.
|
28
|
+
def to_std_spec
|
29
|
+
self.gsub("\\", "/")
|
30
|
+
end
|
31
|
+
|
32
|
+
# The mysh string pre-processor stack.
|
33
|
+
def preprocess(evaluator=$mysh_exec_binding)
|
34
|
+
self.eval_variables.eval_handlebars(evaluator)
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
data/lib/mysh/system.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
|
3
|
+
# Support for executing through the system.
|
4
4
|
module Mysh
|
5
5
|
|
6
|
-
#Try to execute as a system program.
|
6
|
+
# Try to execute as a system program.
|
7
7
|
def self.try_execute_system(input)
|
8
8
|
system(input.raw.preprocess.chomp + "\n") ? :system : :error
|
9
9
|
end
|
data/lib/mysh/user_input.rb
CHANGED
@@ -1,22 +1,20 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
require 'mini_readline'
|
4
|
-
|
5
3
|
require_relative 'sources/console'
|
6
4
|
require_relative 'sources/string'
|
7
5
|
|
8
6
|
require_relative 'sources/smart_auto_complete'
|
9
7
|
require_relative 'sources/parse'
|
10
8
|
|
11
|
-
|
9
|
+
# Get some text from the user.
|
12
10
|
module Mysh
|
13
11
|
|
14
|
-
#Get one command from the user.
|
12
|
+
# Get one command from the user.
|
15
13
|
def self.get_command(source)
|
16
14
|
get_command_extra(source, source.get_command)
|
17
15
|
end
|
18
16
|
|
19
|
-
#Get any continuations of the inputs
|
17
|
+
# Get any continuations of the inputs
|
20
18
|
def self.get_command_extra(source, str)
|
21
19
|
if str.start_with?("=") && /\\\s*$/ =~ str
|
22
20
|
get_command_extra(source, $PREMATCH + "\n" + source.get_command_extra(str))
|
@@ -25,13 +23,11 @@ module Mysh
|
|
25
23
|
end
|
26
24
|
end
|
27
25
|
|
28
|
-
#Get the user input ready.
|
26
|
+
# Get the user input ready.
|
29
27
|
def self.input
|
30
|
-
@input ||= MiniReadline::Readline.new(
|
31
|
-
eoi_detect: true,
|
28
|
+
@input ||= MiniReadline::Readline.new(eoi_detect: true,
|
32
29
|
auto_complete: true,
|
33
30
|
auto_source: SmartSource)
|
34
31
|
end
|
35
32
|
|
36
33
|
end
|
37
|
-
|
data/lib/mysh/version.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
module Mysh
|
4
|
-
#The version string of MY SHell.
|
5
|
-
VERSION = "0.6.
|
4
|
+
# The version string of MY SHell.
|
5
|
+
VERSION = "0.6.17".freeze
|
6
6
|
|
7
|
-
#A brief summary of this gem.
|
8
|
-
|
7
|
+
# A brief summary of this gem.
|
8
|
+
DESCRIPTION = "mysh -- a Ruby inspired command line shell.".freeze
|
9
9
|
end
|
data/mysh.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Peter Camilleri"]
|
10
10
|
spec.email = ["peter.c.camilleri@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = Mysh::
|
12
|
+
spec.summary = Mysh::DESCRIPTION
|
13
13
|
spec.description = "mysh -- a Ruby inspired command shell " +
|
14
14
|
"for CLI and application use."
|
15
15
|
spec.homepage = "https://github.com/PeterCamilleri/mysh"
|
@@ -23,17 +23,18 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.required_ruby_version = '>= 1.9.3'
|
25
25
|
|
26
|
-
spec.add_development_dependency "rake", "
|
26
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
27
27
|
spec.add_development_dependency "bundler", "~> 1.11"
|
28
28
|
spec.add_development_dependency 'minitest', "~> 5.7"
|
29
29
|
spec.add_development_dependency 'minitest_visible', "~> 0.1"
|
30
30
|
spec.add_development_dependency 'rdoc', "~> 5.0"
|
31
31
|
spec.add_development_dependency 'reek', "~> 5.0.2"
|
32
32
|
|
33
|
-
spec.add_runtime_dependency 'mini_readline', "~> 0.9.
|
33
|
+
spec.add_runtime_dependency 'mini_readline', "~> 0.9.1"
|
34
34
|
spec.add_runtime_dependency 'mini_term', "~> 0.1.0"
|
35
|
-
spec.add_runtime_dependency 'pause_output', "~> 0.
|
35
|
+
spec.add_runtime_dependency 'pause_output', "~> 0.2.0"
|
36
36
|
spec.add_runtime_dependency 'format_output', "~> 0.1.0"
|
37
37
|
spec.add_runtime_dependency 'vls', "~> 0.4.1"
|
38
38
|
spec.add_runtime_dependency 'in_array', "~> 0.1.8"
|
39
|
+
spec.add_runtime_dependency 'insouciant', "~> 0.1.0"
|
39
40
|
end
|
data/tests/my_shell_tests.rb
CHANGED
@@ -11,6 +11,19 @@ class MyShellTester < Minitest::Test
|
|
11
11
|
#Track mini-test progress.
|
12
12
|
include MinitestVisible
|
13
13
|
|
14
|
+
def test_that_it_has_a_version_number
|
15
|
+
refute_nil(::Mysh::VERSION)
|
16
|
+
assert(::Mysh::VERSION.frozen?)
|
17
|
+
assert(::Mysh::VERSION.is_a?(String))
|
18
|
+
assert(/\A\d+\.\d+\.\d+/ =~ ::Mysh::VERSION)
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_that_it_has_a_description
|
22
|
+
refute_nil(::Mysh::DESCRIPTION)
|
23
|
+
assert(::Mysh::DESCRIPTION.frozen?)
|
24
|
+
assert(::Mysh::DESCRIPTION.is_a?(String))
|
25
|
+
end
|
26
|
+
|
14
27
|
def test_that_module_entities_exists
|
15
28
|
assert_equal(String, Mysh::VERSION.class)
|
16
29
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mysh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Camilleri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 12.3.3
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 12.3.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.9.
|
103
|
+
version: 0.9.1
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.9.
|
110
|
+
version: 0.9.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: mini_term
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 0.2.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.2.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: format_output
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +178,20 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 0.1.8
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: insouciant
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.1.0
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.1.0
|
181
195
|
description: mysh -- a Ruby inspired command shell for CLI and application use.
|
182
196
|
email:
|
183
197
|
- peter.c.camilleri@gmail.com
|
@@ -193,82 +207,81 @@ files:
|
|
193
207
|
- README.md
|
194
208
|
- bin/mysh
|
195
209
|
- lib/mysh.rb
|
210
|
+
- lib/mysh/action.rb
|
211
|
+
- lib/mysh/action_pool.rb
|
212
|
+
- lib/mysh/command_line.rb
|
213
|
+
- lib/mysh/command_line/debug.rb
|
214
|
+
- lib/mysh/command_line/history.rb
|
215
|
+
- lib/mysh/command_line/init.rb
|
216
|
+
- lib/mysh/command_line/load.rb
|
217
|
+
- lib/mysh/command_line/pause.rb
|
218
|
+
- lib/mysh/command_line/post_prompt.rb
|
219
|
+
- lib/mysh/command_line/pre_prompt.rb
|
220
|
+
- lib/mysh/command_line/prompt.rb
|
221
|
+
- lib/mysh/command_line/quit.rb
|
222
|
+
- lib/mysh/command_line/usage.rb
|
196
223
|
- lib/mysh/exceptions.rb
|
197
224
|
- lib/mysh/expression.rb
|
198
225
|
- lib/mysh/expression/lineage.rb
|
199
226
|
- lib/mysh/external.rb
|
200
227
|
- lib/mysh/globalize.rb
|
201
228
|
- lib/mysh/handlebars.rb
|
202
|
-
- lib/mysh/handlebars/
|
203
|
-
- lib/mysh/
|
229
|
+
- lib/mysh/handlebars/eval_handlebars.rb
|
230
|
+
- lib/mysh/help/env.txt
|
231
|
+
- lib/mysh/help/expr.txt
|
232
|
+
- lib/mysh/help/gem.txt
|
233
|
+
- lib/mysh/help/gls.txt
|
234
|
+
- lib/mysh/help/h_o_h.txt
|
235
|
+
- lib/mysh/help/hbar.txt
|
236
|
+
- lib/mysh/help/help.txt
|
237
|
+
- lib/mysh/help/history.txt
|
238
|
+
- lib/mysh/help/init.txt
|
239
|
+
- lib/mysh/help/kbd.txt
|
240
|
+
- lib/mysh/help/math.txt
|
241
|
+
- lib/mysh/help/mls.txt
|
242
|
+
- lib/mysh/help/quick.txt
|
243
|
+
- lib/mysh/help/ruby.txt
|
244
|
+
- lib/mysh/help/show.txt
|
245
|
+
- lib/mysh/help/term.txt
|
246
|
+
- lib/mysh/help/timed.txt
|
247
|
+
- lib/mysh/help/type.txt
|
248
|
+
- lib/mysh/help/types.txt
|
249
|
+
- lib/mysh/help/usage.txt
|
250
|
+
- lib/mysh/help/vars.txt
|
204
251
|
- lib/mysh/input_wrapper.rb
|
205
252
|
- lib/mysh/internal.rb
|
206
|
-
- lib/mysh/internal/
|
207
|
-
- lib/mysh/internal/
|
208
|
-
- lib/mysh/internal/
|
209
|
-
- lib/mysh/internal/
|
210
|
-
- lib/mysh/internal/
|
211
|
-
- lib/mysh/internal/
|
212
|
-
- lib/mysh/internal/
|
213
|
-
- lib/mysh/internal/
|
214
|
-
- lib/mysh/internal/
|
215
|
-
- lib/mysh/internal/
|
216
|
-
- lib/mysh/internal/
|
217
|
-
- lib/mysh/internal/
|
218
|
-
- lib/mysh/internal/
|
219
|
-
- lib/mysh/internal/
|
220
|
-
- lib/mysh/internal/
|
221
|
-
- lib/mysh/internal/
|
222
|
-
- lib/mysh/
|
223
|
-
- lib/mysh/internal/actions/exit.rb
|
224
|
-
- lib/mysh/internal/actions/gls.rb
|
225
|
-
- lib/mysh/internal/actions/help.rb
|
226
|
-
- lib/mysh/internal/actions/help/env.txt
|
227
|
-
- lib/mysh/internal/actions/help/expr.txt
|
228
|
-
- lib/mysh/internal/actions/help/gem.txt
|
229
|
-
- lib/mysh/internal/actions/help/gls.txt
|
230
|
-
- lib/mysh/internal/actions/help/h_o_h.txt
|
231
|
-
- lib/mysh/internal/actions/help/hbar.txt
|
232
|
-
- lib/mysh/internal/actions/help/help.txt
|
233
|
-
- lib/mysh/internal/actions/help/history.txt
|
234
|
-
- lib/mysh/internal/actions/help/init.txt
|
235
|
-
- lib/mysh/internal/actions/help/kbd.txt
|
236
|
-
- lib/mysh/internal/actions/help/math.txt
|
237
|
-
- lib/mysh/internal/actions/help/mls.txt
|
238
|
-
- lib/mysh/internal/actions/help/quick.txt
|
239
|
-
- lib/mysh/internal/actions/help/ruby.txt
|
240
|
-
- lib/mysh/internal/actions/help/show.txt
|
241
|
-
- lib/mysh/internal/actions/help/sub_help.rb
|
242
|
-
- lib/mysh/internal/actions/help/term.txt
|
243
|
-
- lib/mysh/internal/actions/help/timed.txt
|
244
|
-
- lib/mysh/internal/actions/help/types.txt
|
245
|
-
- lib/mysh/internal/actions/help/usage.txt
|
246
|
-
- lib/mysh/internal/actions/help/vars.txt
|
247
|
-
- lib/mysh/internal/actions/history.rb
|
248
|
-
- lib/mysh/internal/actions/load.rb
|
249
|
-
- lib/mysh/internal/actions/mls.rb
|
250
|
-
- lib/mysh/internal/actions/pwd.rb
|
251
|
-
- lib/mysh/internal/actions/say.rb
|
252
|
-
- lib/mysh/internal/actions/show.rb
|
253
|
-
- lib/mysh/internal/actions/show/env.rb
|
254
|
-
- lib/mysh/internal/actions/show/gem.rb
|
255
|
-
- lib/mysh/internal/actions/show/ruby.rb
|
256
|
-
- lib/mysh/internal/actions/show/term.rb
|
257
|
-
- lib/mysh/internal/actions/type.rb
|
258
|
-
- lib/mysh/internal/actions/vars.rb
|
259
|
-
- lib/mysh/internal/manage.rb
|
260
|
-
- lib/mysh/internal/to_file_spec.rb
|
261
|
-
- lib/mysh/pre_processor.rb
|
253
|
+
- lib/mysh/internal/cancel.rb
|
254
|
+
- lib/mysh/internal/cd.rb
|
255
|
+
- lib/mysh/internal/comment.rb
|
256
|
+
- lib/mysh/internal/elapsed.rb
|
257
|
+
- lib/mysh/internal/exit.rb
|
258
|
+
- lib/mysh/internal/gls.rb
|
259
|
+
- lib/mysh/internal/help.rb
|
260
|
+
- lib/mysh/internal/history.rb
|
261
|
+
- lib/mysh/internal/load.rb
|
262
|
+
- lib/mysh/internal/mls.rb
|
263
|
+
- lib/mysh/internal/pwd.rb
|
264
|
+
- lib/mysh/internal/say.rb
|
265
|
+
- lib/mysh/internal/show.rb
|
266
|
+
- lib/mysh/internal/support/sub_help.rb
|
267
|
+
- lib/mysh/internal/type.rb
|
268
|
+
- lib/mysh/internal/vars.rb
|
269
|
+
- lib/mysh/load_init_file.rb
|
262
270
|
- lib/mysh/process.rb
|
263
271
|
- lib/mysh/quick.rb
|
264
272
|
- lib/mysh/shell_variables.rb
|
265
273
|
- lib/mysh/shell_variables/evaluate.rb
|
266
274
|
- lib/mysh/shell_variables/shell_variable_keeper.rb
|
267
275
|
- lib/mysh/shell_variables/shell_variable_store.rb
|
276
|
+
- lib/mysh/show/env.rb
|
277
|
+
- lib/mysh/show/gem.rb
|
278
|
+
- lib/mysh/show/ruby.rb
|
279
|
+
- lib/mysh/show/term.rb
|
268
280
|
- lib/mysh/sources/console.rb
|
269
281
|
- lib/mysh/sources/parse.rb
|
270
282
|
- lib/mysh/sources/smart_auto_complete.rb
|
271
283
|
- lib/mysh/sources/string.rb
|
284
|
+
- lib/mysh/string_helpers.rb
|
272
285
|
- lib/mysh/system.rb
|
273
286
|
- lib/mysh/user_input.rb
|
274
287
|
- lib/mysh/version.rb
|