Skip to content

Enable updating of themes from CLI #26

Description

@Descent098

Features

  • Create function to call to check for updates
  • Let people know when they use the ezcv build that they should upgrade if a new version is available
  • Put a little (upgrade available) tag when someone uses ezcv -l and upgrades are available for local themes

Get ezcv theme details

import requests
import datetime
response = requests.get('https://api.github.com/repos/QU-UP/ezcv-themes/branches/main')

# print response
print(response)

# print json content
print(response.json()["commit"]["commit"]["author"]["date"])

print(datetime.datetime.strptime(response.json()["commit"]["commit"]["author"]["date"], "%Y-%m- 
%dT%H:%M:%SZ").strftime("%Y-%m-%d")) # returns string of "Year-Month-Day"

Activity

  1. moved this from To do to 0.4.0 in ezcv V0.4.xon Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions