<commit_before>Console Commands
=============================================

Flask-Philo provides a number of console commands to manage core app services and common tasks (e.g. `runserver`, `syncdb`, `test`, etc).

However, Flask-Philo also allows us to *extend* this set of console commands with our own *custom* commands.
This let us write custom utilities and tools that take advantage of the inherent features of a Flask-Philo application: ORM mapping, View/Model architecture, DB config, etc)

Running Console Commands
--------------------


::

    python3 manage.py test



To execute *only* the tests from one **source file**, use the ``--q`` parameter:
<commit_msg>console docs<commit_after>Console Commands
=============================================

Flask-Philo provides a number of console commands to manage core app services and common tasks (e.g. ``runserver``, ``syncdb``, ``test``, etc).

However, Flask-Philo also allows us to *extend* this set of console commands with our own *custom* commands.
This let us write custom utilities and tools that take advantage of the inherent features of a Flask-Philo application: ORM mapping, View/Model architecture, DB config, etc)

Running Console Commands
--------------------


::

    python3 manage.py test



To execute *only* the tests from one **source file**, use the ``--q`` parameter:

{'fraction_non_alphanumeric': 0.17218543046357615, 'fraction_numerical': 0.0014716703458425313, 'mean_word_length': 4.151515151515151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4882966', 'n_tokens_mistral': 350, 'n_tokens_neox': 334, 'n_words': 169}