abstract class Cradare2::Plugin::Command

Overview

Abstract base class for all radare2 plugin subcommands.

Direct Known Subclasses

Defined in:

cradare2/plugin/command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, summary : String, usage : String = "", aliases : Array(String) = [] of String) #

[View source]

Instance Method Detail

def aliases : Array(String) #

[View source]
abstract def execute(client : Client, args : Array(String), json : Bool = false) : String #

Executes the subcommand. Returns formatted text or JSON string when json: true.


[View source]
def name : String #

[View source]
def summary : String #

[View source]
def usage : String #

[View source]