Sha256: 6171ba34802aa31873517009d5d90d99a54ee36a13f48c6f5ff2ac6ddf4315e1
Contents?: true
Size: 642 Bytes
Versions: 5
Compression:
Stored size: 642 Bytes
Contents
# frozen_string_literal: true module Hanami module CLI module Commands module App module Generate # @since 2.2.0 # @api private class Struct < Command argument :name, required: true, desc: "Struct name" example [ %(book (MyApp::Structs::Book)), %(book/published_book (MyApp::Structs::Book::PublishedBook)), %(book --slice=admin (Admin::Structs::Book)), ] def generator_class Generators::App::Struct end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems