Initialize Analyse-Console
This commit is contained in:
parent
338daed210
commit
7aa766163a
2 changed files with 61 additions and 0 deletions
12
bin/logansh
Executable file
12
bin/logansh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
require 'logan/analyse'
|
||||
require 'active_support'
|
||||
require 'irb'
|
||||
|
||||
$logan = LogAn::Analyse.new 'logs'
|
||||
begin
|
||||
IRB.start __FILE__
|
||||
ensure
|
||||
$logan.close
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue