Class: LatexFlow::CLI
- Inherits:
-
Thor
- Object
- Thor
- LatexFlow::CLI
show all
- Defined in:
- lib/latex-flow/cli.rb
Defined Under Namespace
Classes: Archive, Archives, BibTeX, Build, Clean, Dvipdfm, Generic, LaTeX, Version
Instance Method Summary
collapse
Instance Method Details
#archive(tag) ⇒ Object
24
25
26
27
|
# File 'lib/latex-flow/cli.rb', line 24
def archive(tag)
require 'latex-flow/cli/archive'
CLI::Archive.new(options.merge(tag:tag)).run
end
|
#archives ⇒ Object
30
31
32
33
|
# File 'lib/latex-flow/cli.rb', line 30
def archives
require 'latex-flow/cli/archives'
CLI::Archives.new(options).run
end
|
#bibtex(target) ⇒ Object
42
43
44
45
|
# File 'lib/latex-flow/cli.rb', line 42
def bibtex(target)
require 'latex-flow/cli/bibtex'
CLI::BibTeX.new(options.merge({target:target})).run
end
|
#build(target) ⇒ Object
56
57
58
59
|
# File 'lib/latex-flow/cli.rb', line 56
def build(target)
require 'latex-flow/cli/build'
CLI::Build.new(options.merge({target:target})).run
end
|
#clean ⇒ Object
18
19
20
21
|
# File 'lib/latex-flow/cli.rb', line 18
def clean
require 'latex-flow/cli/clean'
CLI::Clean.new(options).run
end
|
#dvipdfm(target) ⇒ Object
48
49
50
51
|
# File 'lib/latex-flow/cli.rb', line 48
def dvipdfm(target)
require 'latex-flow/cli/dvipdfm'
CLI::Dvipdfm.new(options.merge({target:target})).run
end
|
#latex(target) ⇒ Object
36
37
38
39
|
# File 'lib/latex-flow/cli.rb', line 36
def latex(target)
require 'latex-flow/cli/latex'
CLI::LaTeX.new(options.merge({target:target})).run
end
|
#version ⇒ Object
11
12
13
14
|
# File 'lib/latex-flow/cli.rb', line 11
def version
require 'latex-flow/cli/version'
CLI::Version.new(options).run
end
|