Sha256: 965fd7371dd7dd3f7dac22b12b8a5d6017f830fa8d660d29cf4a287c229deb23
Contents?: true
Size: 1.61 KB
Versions: 10
Compression:
Stored size: 1.61 KB
Contents
require 'session' module Pullentity module Client module Generate class Theme < Thor include ::Pullentity::Client::Utils #map %(n) => 'sites' desc "sites", "list sites, needs auth_token." long_desc "sites, needs auth token, run pullentity login help." def sites ::Pullentity::Client::Generate::Auth.start(['list_sites']) end #map %(x) => 'export' desc "export", "exports a new Pullentity Client project." long_desc "builds & exports site to theme." def export ::Pullentity::Client::Generate::Exporter.start(['export']) end #map %(n) => 'select' desc "select_site", "needs auth_token." long_desc "select_site, needs auth token , run pullentity login help." def select_site ::Pullentity::Client::Generate::Auth.start(['select_site']) end #map %(n) => 'select' desc "make_default", "needs auth_token." long_desc "make default site" def make_default ::Pullentity::Client::Generate::Exporter.start(['export']) ::Pullentity::Client::Generate::Auth.start(['make_default']) end #map %(n) => 'select' desc "show theme", "needs auth_token." long_desc "make default site" def show_theme ::Pullentity::Client::Generate::Auth.start(['show_theme']) end #map %(n) => 'select' desc "import_data", "download site data" def import_data ::Pullentity::Client::Generate::Auth.start(['download_json_data']) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems