Class: Hanami::CliSubCommands::Assets Private

Inherits:
Thor
  • Object
show all
Extended by:
Hanami::CliBase
Defined in:
lib/hanami/cli_sub_commands/assets.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A set of subcommands related to assets

It is run with:

`bundle exec hanami assets`

Since:

  • 0.6.0

Instance Method Summary collapse

Methods included from Hanami::CliBase

define_commands

Instance Method Details

#precompileObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.6.0


16
17
18
19
# File 'lib/hanami/cli_sub_commands/assets.rb', line 16

def precompile
  require 'hanami/commands/assets/precompile'
  Hanami::Commands::Assets::Precompile.new(options).start
end