Skip to main content

readme42.com cli

Project description

Installation

$ [sudo] pip install readme42
$ [sudo] npm i -g readme42

Examples

https://readme42.com/templates/username/template

{% if examples %}
### Examples
{{ examples }}
{% endif %}

{% if links %}
### Links
{{ links }}
{% endif %}

cli

$ export README42_TOKEN="XXX" # https://readme42.com/token/
$ export README42_TEMPLATE="username/template"
$ readme42 . > README42.md

python api:

url = 'https://api.readme42.com/templates'
headers = {'Authorization': 'Token README42_TOKEN'}

data = dict(
    examples=open('examples.md').read(),
    links=open('links.md').read()
)
r = requests.post(url,headers=headers,data=data)

open('README.md','w').write(r.text)

Links

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

readme42-2020.10.26.tar.gz (2.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page