Sha256: b1376e7045a6a9ddca84b5136b8c75863bb56a2531c4cbc9a30237077934c1f0

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

require "dphil"
require "gli"

module Dphil
  #
  # GLI-based CLI interface for the library.
  #
  # Not loaded automatically with the rest of the gem.
  #
  module CLI
    extend GLI::App

    program_desc "UBC Sanskrit digital philology CLI tool"
    version Dphil::VERSION
    subcommand_option_handling :normal
    arguments :strict

    desc "Be verbose in output"
    switch :verbose, negatable: false

    # Load individual CLI commands
    commands_from "dphil/cli_commands"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dphil-0.1.4 lib/dphil/cli.rb