Sha256: 0a5f87095302897788301ead29f33502fd289b2a5578fd765024d2bdfa6f2e72
Contents?: true
Size: 480 Bytes
Versions: 8
Compression:
Stored size: 480 Bytes
Contents
module Tc211::Termbase module Cli class Command < Thor desc "fetch CODE", "Fetch Relaton XML for Standard identifier CODE" option :type, aliases: :t, required: true, desc: "Type of standard to get bibliographic entry for" option :year, aliases: :y, type: :numeric, desc: "Year the standard was published" def fetch(code) Relaton::Cli.relaton say(fetch_document(code, options) || supported_type_message) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems