Create two new modules, Ronin::DB::CLI::Importable and Ronin::DB::CLI::Deletable, extracted from Ronin::DB::CLI::Modifiable. Ronin::DB::CLI::Importable must define the --add and --import options. This will allow Ronin::DB::CLI::Commands::StreetAddresses to include Ronin::DB::CLI::Deleteable for the --delete and --delete-all , but not Ronin::DB::CLI::Importable, since Ronin::DB::StreetAddress does not currently have an .import method.
Create two new modules,
Ronin::DB::CLI::Importable
andRonin::DB::CLI::Deletable
, extracted fromRonin::DB::CLI::Modifiable
.Ronin::DB::CLI::Importable
must define the--add
and--import
options. This will allowRonin::DB::CLI::Commands::StreetAddresses
to includeRonin::DB::CLI::Deleteable
for the--delete
and--delete-all
, but notRonin::DB::CLI::Importable
, sinceRonin::DB::StreetAddress
does not currently have an.import
method.