Sha256: 7791b6ebec17864268dd33b4bcc77d7c2e2bac31c04998df9d22532e9ab54304

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

#!/usr/bin/env ruby

require 'arxutils'
require "enop"

dbconfig = Arxutils::Dbutil::DBCONFIG_MYSQL
dbconfig = Arxutils::Dbutil::DBCONFIG_SQLITE3

token = ARGV[0]
url = ARGV[1] if ARGV.size > 10
hs = {
  "db_dir" => Arxutils::Dbutil::DB_DIR,
  "migrate_dir" => Arxutils::Dbutil::MIGRATE_DIR,
  "config_dir" => Arxutils::Dbutil::CONFIG_DIR,
  "dbconfig" => dbconfig,
  "log_fname" => Arxutils::Dbutil::DATABASELOG,
}


enop = Enop::Enop.new(
                      token,
                      :db,
                      hs,
                      url
                      )
enop.connect
enop.list_notebooks

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enop-0.1.5 exe/enop