Sha256: f4876dafc7f74edece21fc4e22258e486291c66daf7c923215f8e31823591e5d

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 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'
      def precompile
        require 'hanami/commands/assets/precompile'
        Hanami::Commands::Assets::Precompile.new(options).start
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-1.0.0.beta2 lib/hanami/cli_sub_commands/assets.rb
hanami-1.0.0.beta1 lib/hanami/cli_sub_commands/assets.rb
hanami-0.9.2 lib/hanami/cli_sub_commands/assets.rb
hanami-0.9.1 lib/hanami/cli_sub_commands/assets.rb
hanami-0.9.0 lib/hanami/cli_sub_commands/assets.rb