Class: SyntaxTree::CLI::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/syntax_tree/cli.rb

Overview

The parent action class for the CLI that implements the basics.

Direct Known Subclasses

AST, Check, Debug, Doc, Format, Json, Match, Write

Instance Method Summary collapse

Instance Method Details

#failureObject



45
46
# File 'lib/syntax_tree/cli.rb', line 45

def failure
end

#run(handler, filepath, source) ⇒ Object



39
40
# File 'lib/syntax_tree/cli.rb', line 39

def run(handler, filepath, source)
end

#successObject



42
43
# File 'lib/syntax_tree/cli.rb', line 42

def success
end