<commit_before># Requirements

Ruby 1.9

# Installation

````
gem install shopify_theme [optional_theme_id]
````

# Usage

Generate the config file. Go get a valid api_key and password for your store head to https://[your store].myshopify.com/admin/apps/private and generate a private application. Default it adds the main theme, if you want to edit one of your other themes, add the theme_id.

````
theme configure api_key password store_url
````

Download all the theme files<commit_msg>Added example of config file<commit_after># Requirements

Ruby 1.9

# Installation

````
gem install shopify_theme [optional_theme_id]
````

# Usage

Generate the config file. Go get a valid api_key and password for your store head to https://[your store].myshopify.com/admin/apps/private and generate a private application. Default it adds the main theme, if you want to edit one of your other themes, add the theme_id.

````
theme configure api_key password store_url
````

Example (notice no http or https on store):

````
---
:api_key: 7a8da86d3dd730b67a357dedabaac5d6
:password: <PASSWORD>
:store: little-plastics.myshopify.com
:theme_id:
:ignore_files:
- README
````

Download all the theme files
{'fraction_non_alphanumeric': 0.09235936188077246, 'fraction_numerical': 0.01595298068849706, 'mean_word_length': 4.814634146341463, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4834817', 'n_tokens_mistral': 385, 'n_tokens_neox': 356, 'n_words': 144}