Module: Ronin::DB::CLI::Modifiable Private
- Included in:
- Commands::Creds, Commands::Emails, Commands::Hosts, Commands::Ips, Commands::Passwords, Commands::People, Commands::PhoneNumbers, Commands::Ports, Commands::Services, Commands::Urls
- Defined in:
- lib/ronin/db/cli/modifiable.rb
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
-
.included(command) ⇒ Object
private
Adds the
--add
,--import
,--delete
and--delete-all
options to the command.
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.
42 43 44 45 |
# File 'lib/ronin/db/cli/modifiable.rb', line 42 def self.included(command) command.include Deletable command.include Importable end |