Sha256: 1252eae20eab621cc13e6fe3ecbd4ac258735b52498cfbd59bfdb6d03efa1718
Contents?: true
Size: 702 Bytes
Versions: 2
Compression:
Stored size: 702 Bytes
Contents
# frozen_string_literal: true module Hanami module CLI module Commands module App module Generate # @since 2.2.0 # @api private class Relation < Command argument :name, required: true, desc: "Relation name" example [ %(books (MyApp::Relation::Book)), %(books/drafts (MyApp::Relations::Books::Drafts)), %(books --slice=admin (Admin::Relations::Books)), ] # @since 2.2.0 # @api private def generator_class Generators::App::Relation end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hanami-cli-2.2.0.rc1 | lib/hanami/cli/commands/app/generate/relation.rb |
hanami-cli-2.2.0.beta2 | lib/hanami/cli/commands/app/generate/relation.rb |