# core


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

------------------------------------------------------------------------

<a
href="https://github.com/radekosmulski/chrome_extension_generator/blob/main/chrome_extension_generator/core.py#L64"
target="_blank" style="float:right; font-size:smaller">source</a>

### main

>  main (name:str<Nameoftheextension>,
>            desc:str<Descriptionoftheextension>='',
>            url:str<URLpatterntomatch(e.g.https://example.com/*)>='*://*/*',
>            repo:str<GitHubrepositoryURL>='www.example.com')

*Generate a new Chrome extension with basic structure*

------------------------------------------------------------------------

<a
href="https://github.com/radekosmulski/chrome_extension_generator/blob/main/chrome_extension_generator/core.py#L48"
target="_blank" style="float:right; font-size:smaller">source</a>

### create_manifest

>  create_manifest (path, name, desc, url)

*Create manifest.json with provided details*

------------------------------------------------------------------------

<a
href="https://github.com/radekosmulski/chrome_extension_generator/blob/main/chrome_extension_generator/core.py#L38"
target="_blank" style="float:right; font-size:smaller">source</a>

### create_content_js

>  create_content_js (path, name)

*Create content.js with basic structure*

------------------------------------------------------------------------

<a
href="https://github.com/radekosmulski/chrome_extension_generator/blob/main/chrome_extension_generator/core.py#L11"
target="_blank" style="float:right; font-size:smaller">source</a>

### create_readme

>  create_readme (path, name, desc, repo)

*Create README.md with provided details*
