tokendito icon indicating copy to clipboard operation
tokendito copied to clipboard

Feature/inquirer

Open scattym opened this issue 3 months ago • 0 comments

Description

Add the ability to choose the mfa type and the role through interactive shell instead of index.

This has been added as an optional dependency with fallback if the inquirer lib is not present. Only because I don't understand the policies of the package maintainer here, with respect to the increase to the dependency tree. Not a huge bump for inquirer, but I also had another thought around textual so that we might be able to implement role search capabilities through smart filtering.

Validate with extras_requires -> pip install -e .[inquirer]

Related Issue

N/A

Motivation and Context

We have a list of over 40 roles, which gets hard to navigate and/or search for.

How Has This Been Tested?

Validated with both inquirer installed and not installed. Pytest run on 3.11.1

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ X ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation update

Checklist:

  • [ X ] My code follows the style guidelines of this project
  • [ X ] I have performed a self-review of my own code
  • [ X ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ X ] I have added tests that prove my fix is effective or that my feature works
  • [ X ] New and existing unit tests pass locally with my changes

scattym avatar Mar 18 '24 05:03 scattym