Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add colorama to support color output on Windows
Fixes: #148
  • Loading branch information
krallin committed Jun 3, 2015
1 parent 1f2a703 commit 55ef59c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cactus/cli.py
Expand Up @@ -5,12 +5,14 @@
import logging
import time
import argparse
import colorama

import cactus

from cactus.bootstrap import bootstrap
from cactus.logger import setup_logging


def create(path, skeleton=None):
"""
Creates a new project at the given path.
Expand Down Expand Up @@ -64,6 +66,8 @@ def domain_list(path, config):


def main():
colorama.init()

parser = argparse.ArgumentParser(description = "Build and deploy static websites using Django templates.")

subparsers = parser.add_subparsers(title = 'subcommands', description = 'Valid subcommands',
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -5,3 +5,4 @@ keyring
boto>=2.4.1
tornado>=3.2
colorlog
colorama

0 comments on commit 55ef59c

Please sign in to comment.