Class: SleepingKingStudios::Docs::Tasks::Installation::InstallTemplates

Inherits:
Base
  • Object
show all
Defined in:
lib/sleeping_king_studios/docs/tasks/installation/install_templates.rb

Overview

CLI task for installing Jekyll templates for a library.

Instance Method Summary collapse

Instance Method Details

#templatesObject

Installs or updates the Jekyll templates



29
30
31
32
33
34
35
36
37
# File 'lib/sleeping_king_studios/docs/tasks/installation/install_templates.rb', line 29

def templates
  SleepingKingStudios::Docs::Commands::Installation::InstallTemplates
    .new(
      dry_run: options['dry_run'],
      force:   options['force'],
      verbose: options['verbose']
    )
    .call(docs_path: options['docs_path'])
end