Add otari login/logout command

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

No files or tests are named. Start by locating the CLI command entry point and the existing authentication mechanism, then determine how sessions and token-based authentication are expected to work. Done means login and logout commands work, sessions avoid requiring a token interactively, and token authentication works for CI use.

Written by the indexing model from the issue text.

Description

The CLI should have a login and logout command that can go through our authentication mechanism and stores a session so that I don't need to have a token to talk with otari.ai

Users should also be able to authenticate with a token if they want to use the CLI in a CI system for example.

Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla-ai/otari-cli

All issues in mozilla-ai/otari-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.