Module: Ronin::DB::CLI::Modifiable Private

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Allows a ModelCommand to add, import records from a file, delete individual records, or delete all records.

Class Method Summary collapse

Class Method Details

.included(command) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Adds the --add, --import, --delete and --delete-all options to the command.

Parameters:

See Also:



42
43
44
45
# File 'lib/ronin/db/cli/modifiable.rb', line 42

def self.included(command)
  command.include Deletable
  command.include Importable
end