lib/geny/context/invoke.rb in geny-2.0.0 vs lib/geny/context/invoke.rb in geny-2.1.0
- old
+ new
@@ -3,10 +3,11 @@
require "geny/actions/ui"
require "geny/actions/geny"
require "geny/actions/git"
require "geny/actions/shell"
require "geny/actions/files"
+require "geny/actions/find"
require "geny/actions/templates"
module Geny
module Context
# The `invoke` behavior for all commands is evaluated in
@@ -28,9 +29,15 @@
# A utility for interacting with files
# @return [Actions::Files]
def files
Actions::Files.new
+ end
+
+ # A utility for bulk find-and-replace operations
+ # @return [Actions::Find]
+ def find
+ Actions::Find.new
end
# A utility for running shell commands
# @return [Actions::Shell]
def shell