chayapan / favlinks

MIT License
1 stars 0 forks source link

9. Command-Line Interface (CLI) #1

Open chayapan opened 8 months ago

chayapan commented 8 months ago

As a User: I want to access and manage my favorited URLs via a command-line interface (CLI).

Objective: To provide an alternative interface for power users or those who prefer a CLI experience.

Expectations:

chayapan commented 7 months ago

favlinks-cli/favlinks-cli.py use ArgParse https://docs.python.org/3/library/argparse.html#mutual-exclusion

Use authentication with token per user account from DRF

  1. https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication
  2. https://stackoverflow.com/questions/26906630/django-rest-framework-authentication-credentials-were-not-provided

Fixing DRF bugs https://stackoverflow.com/questions/62179213/how-to-get-an-url-with-username-as-slug-parameter-django-rest-framework