Sha256: ac9db1f67c247aef8e3d0530033d503c01c0f42971ee04ba99f17da91b1a5893

Contents?: true

Size: 533 Bytes

Versions: 3

Compression:

Stored size: 533 Bytes

Contents

module Hanami
  class CliSubCommands
    # A set of subcommands related to assets
    #
    # It is run with:
    #
    #   `bundle exec hanami assets`
    #
    # @since 0.6.0
    # @api private
    class Assets < Thor
      extend CliBase
      namespace :assets

      desc 'precompile', 'Precompile assets for deployment'
      # @since 0.6.0
      # @api private
      def precompile
        require 'hanami/commands/assets/precompile'
        Hanami::Commands::Assets::Precompile.new(options).start
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hanami-1.0.0 lib/hanami/cli_sub_commands/assets.rb
hanami-1.0.0.rc1 lib/hanami/cli_sub_commands/assets.rb
hanami-1.0.0.beta3 lib/hanami/cli_sub_commands/assets.rb