<commit_before>flagfile
========

flagfile provides a simple api for flags on top of the flag package. It allows
you to specify a file with flags to set and also allows easy loading of flags
into structured types.

Precedence
----------

1. A flag set on the command line has the highest precedence.
2. A flag set in the flagfile has the next highest.
3. The default value has the lowest.

Usage
-----

See the examples in [godoc](http://godoc.org/github.com/SpaceMonekyInc/flagfile)


Flagfile format
---------------
<commit_msg>fix typo in readme<commit_after>flagfile
========

flagfile provides a simple api for flags on top of the flag package. It allows
you to specify a file with flags to set and also allows easy loading of flags
into structured types.

Precedence
----------

1. A flag set on the command line has the highest precedence.
2. A flag set in the flagfile has the next highest.
3. The default value has the lowest.

Usage
-----

See the examples in [godoc](http://godoc.org/github.com/SpaceMonkeyInc/flagfile)


Flagfile format
---------------

{'fraction_non_alphanumeric': 0.11455399061032864, 'fraction_numerical': 0.005633802816901409, 'mean_word_length': 3.037878787878788, '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': '4453493', 'n_tokens_mistral': 299, 'n_tokens_neox': 292, 'n_words': 151}