Sha256: b13b43bd04031a49f56dc95c58a527e612a408a767075fb09ec3af9471d5d78b

Contents?: true

Size: 666 Bytes

Versions: 18

Compression:

Stored size: 666 Bytes

Contents

#!/usr/bin/env ruby

### Bundler ##
require 'bundler/setup'
require 'coderay'
require 'pry'

ENV["APP_ENV"] ||= "development"

Bundler.require(ENV['APP_ENV'].downcase.gsub(" ","_").to_sym)

require 'dotenv'
Dotenv.load

APP_ROOT=File.expand_path(File.dirname(__FILE__)) + "/.."

require File.join(APP_ROOT,'/lib/vault-tools.rb')

# add ability to reload console
def reload!
  reload_msg = '# Reloading the console...'
  puts CodeRay.scan(reload_msg, :ruby).term
  Pry.save_history
  exec(File.expand_path(__FILE__), 'bin/console')
end

system('clear')
welcome = <<eos
# Welcome to Vault Tools Interactive Console
eos
puts CodeRay.scan(welcome, :ruby).term
Pry.start

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
vault-tools-2.1.1 bin/console
vault-tools-2.1.0 bin/console
vault-tools-2.0.2 bin/console
vault-tools-2.0.1 bin/console
vault-tools-2.0.0 bin/console
vault-tools-1.0.1 bin/console
vault-tools-1.0.0 bin/console
vault-tools-0.7.1 bin/console
vault-tools-0.7.0 bin/console
vault-tools-0.6.5 bin/console
vault-tools-0.6.4 bin/console
vault-tools-0.6.3 bin/console
vault-tools-0.6.2 bin/console
vault-tools-0.6.1 bin/console
vault-tools-0.6.0 bin/console
vault-tools-0.5.22 bin/console
vault-tools-0.5.21 bin/console
vault-tools-0.5.19 bin/console