Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Commit

Permalink
More spacing after leading emoji (#75)
Browse files Browse the repository at this point in the history
* More spacing after leading emoji

At least on my Mac terminal (iTerm2 and Terminal,) emoji are
double-wide, leading to cramped and ugly messaging.

This simply adds another space after all the leading emoji in the
install CLI output messages for prettier output.

* Update modules / themes outputs

* Get that warning
  • Loading branch information
bendoh authored and rochacbruno committed Oct 3, 2017
1 parent 4730fb7 commit cb87aad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions quokka/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ def init(name, destiny, source, theme, modules):
# Copy project template from quokka root
copyfolder(source, destiny)
click.echo(
b('🐹 Quokka project created 🐹')
b('🐹 Quokka project created 🐹')
)
lecho('📝 Name', name, green)
lecho('📁 Location', destiny, green)
lecho('📝 Name', name, green)
lecho('📁 Location', destiny, green)
if source == project_template:
lecho('📚 Template', 'default', green)
lecho('📚 Template', 'default', green)
else:
lecho('📚 Template', source, green)
lecho('📚 Template', source, green)

# Fetch themes and extensions
fetch_theme(theme, destiny)
Expand All @@ -137,9 +137,9 @@ def init(name, destiny, source, theme, modules):
)

click.echo(blue(f'➡ Go to {destiny}'))
click.echo(blue('⚙ run `quokka runserver` to start!'))
click.echo(blue('📄 Check the documentation on http://quokkaproject.org'))
click.echo(yellow('🐹 Happy Quokka! 🐹'))
click.echo(blue('⚙ Run `quokka runserver` to start!'))
click.echo(blue('📄 Check the documentation on http://quokkaproject.org'))
click.echo(yellow('🐹 Happy Quokka! 🐹'))


@cli.command()
Expand Down
10 changes: 5 additions & 5 deletions quokka/utils/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@

def fetch_theme(theme, destiny):
"""TODO: implement this"""
lecho('🎨 Warning', f'{theme} theme not installed', red)
lecho('🎨 Warning', f'{theme} theme not installed', red)
return
if theme:
lecho('🎨 Theme installed', theme, green)
lecho('🎨 Theme installed', theme, green)


def fetch_modules(modules, destiny):
"""TODO: implement this"""
lecho('🚚 Warning', f'{modules} modules not installed', red)
lecho('🚚 Warning', f'{modules} modules not installed', red)
return
if modules:
lecho('🚚 Modules installed', modules, green)
lecho('🚚 Modules installed', modules, green)


def cookiecutter(*args, **kwargs):
lecho('🔧 Warning:', 'Config file not written', red)
lecho('🔧 Warning:', 'Config file not written', red)

0 comments on commit cb87aad

Please sign in to comment.