lib/hanami/cli/commands/app/generate/component.rb in hanami-cli-2.2.0.rc1 vs lib/hanami/cli/commands/app/generate/component.rb in hanami-cli-2.2.0

- old
+ new

@@ -13,13 +13,13 @@ class Component < App::Command argument :name, required: true, desc: "Component name" option :slice, required: false, desc: "Slice name" example [ - %(operations.create_user (MyApp::Operations::CreateUser)), - %(operations.user.create (MyApp::Operations::Create::User)), - %(operations.create_user --slice=admin (Admin::Operations::CreateUser)), - %(Operations::CreateUser (MyApp::Operations::CreateUser)), + %(isbn_decoder (MyApp::IsbnDecoder)), + %(recommenders.fiction (MyApp::Recommenders::Fiction)), + %(isbn_decoder --slice=admin (Admin::IsbnDecoder)), + %(Exporters::Complete::CSV (MyApp::Exporters::Complete::CSV)), ] attr_reader :generator private :generator # @api private