import sys

from wordcount.cli import cli
from wordcount.gui import gui

if len(sys.argv) > 1:
    cli()
else:
    gui()
import sys

from wordcount.cli import cli
from wordcount.gui import gui

if len(sys.argv) > 1:
    cli()
else:
    gui()