Class: Bibi::CLI::Commands::Publish
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Bibi::CLI::Commands::Publish
- Defined in:
- lib/bibi/cli/commands/publish.rb
Instance Method Summary collapse
Instance Method Details
#call(epub:, name: File.basename(epub, ".*"), **options) ⇒ Object
24 25 26 27 |
# File 'lib/bibi/cli/commands/publish.rb', line 24 def call(epub:, name: File.basename(epub, ".*"), **) [:profile] = [:profile]&.intern Bibi::Publish.new(**).run(epub, name) end |