bin/frameit in frameit-1.0.1 vs bin/frameit in frameit-2.0.0
- old
+ new
@@ -27,20 +27,20 @@
command :black do |c|
c.syntax = 'frameit black'
c.description = "Adds a black frame around all screenshots."
c.action do |args, options|
- Frameit::Editor.new.run('.', Frameit::Editor::Color::BLACK)
+ Frameit::Runner.new.run('.', Frameit::Color::BLACK)
end
end
command :silver do |c|
c.syntax = 'frameit silver'
c.description = "Adds a silver frame around all screenshots."
c.action do |args, options|
- Frameit::Editor.new.run('.', Frameit::Editor::Color::SILVER)
+ Frameit::Runner.new.run('.', Frameit::Color::SILVER)
end
end
command :setup do |c|
c.syntax = 'frameit setup'
@@ -58,9 +58,10 @@
end
begin
FastlaneCore::UpdateChecker.start_looking_for_update('frameit')
+ Frameit::DependencyChecker.check_dependencies
FrameItApplication.new.run
ensure
FastlaneCore::UpdateChecker.show_update_status('frameit', Frameit::VERSION)
end
\ No newline at end of file