Sha256: 8081608702e8f061d920710101d732898f1fcad430b8dbe5da2ba6ee34a2db5d
Contents?: true
Size: 611 Bytes
Versions: 1
Compression:
Stored size: 611 Bytes
Contents
# coding: utf-8 require 'thor' require 'pathname' lib = Pathname.new(__FILE__).dirname.join().expand_path $:.unshift lib.to_s require 'myUtil' module ArxivReferences class CLI < Thor include ArxivUtil desc 'url', 'Extract references from arxiv URL' def url(urlName) puts ArxivUtil.fetchFromUrl(urlName) end desc 'id', 'Extract references from Arxiv id' def arxivid(idName) puts ArxivUtil.fetchFromArxivId(idName) end desc 'pdfurl', 'Extract references from pdf URL' def pdfurl(pdfUrlName) puts ArxivUtil.fetchFromPdfUrl(pdfUrlName) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arxiv-references-0.1.4 | lib/arxiv/references/ArxivReferences.rb |