which should be printable.
"""
link_dir = link_dir.rstrip(os.path.sep)
- link_parent_dir = os.path.split(link_dir.rstrip(os.path.sep))[0]
+ link_parent_dir = os.path.dirname(link_dir)
results = []
theme['assets_dir'], link_dir))
-def install_theme():
- pass
+def install_theme(install_dir, themefile):
+ pass # TODO ;)
#############
Handle the 'install this theme' subcommand
"""
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 = {