Setup the scaffolding for theme installing, but it doesn't work yet

This commit is contained in:
Christopher Allan Webber 2012-07-14 13:32:11 -05:00
parent 3da44aeba1
commit 777908759c

View File

@ -87,8 +87,8 @@ def link_assets(theme, link_dir, printer=simple_printer):
theme['assets_dir'], link_dir)) theme['assets_dir'], link_dir))
def install_theme(): def install_theme(install_dir, themefile):
pass pass # TODO ;)
############# #############
@ -109,6 +109,8 @@ def install_command(args):
Handle the 'install this theme' subcommand Handle the 'install this theme' subcommand
""" """
global_config, app_config = setup_global_and_app_config(args.conf_file) global_config, app_config = setup_global_and_app_config(args.conf_file)
install_dir = app_config['theme_install_dir']
install_theme(install_dir, args.themefile)
SUBCOMMANDS = { SUBCOMMANDS = {