flip-fest icon indicating copy to clipboard operation
flip-fest copied to clipboard

CLI Feature: Command autocomplete

Open srinjoyc opened this issue 3 years ago • 6 comments

👋   If you are interested in working on this issue, please check out the Getting Started guide on HackerEarth!

Description (Problem Statement)

The CLI should provide command autocompletion to improve the UX. There has been some work already done to implement this feature but it requires more attention. More testing is needed across different shells. The current implementation doesn't allow users to autocomplete file names (ie. tab tab for the filename), it currently only works for command names.

Experience Required

  • Experience with Go

Minimum Feature Set (Acceptance Criteria)

Autocompletion working on all supported shells with file paths still autocompleting.

Extension (Optional) Feature Set

Enable auto-completion by running a command without the user's need to manually configure.

Milestone Requirements

  1. Autocompletion works on all supported shells
  2. Testing suite in place

Software Requirements

Maintainability

  • Code should be written with best practices in mind.

Testing

  • Tests should cover all the code implementing this functionality.
  • The feature should be tested on all shells supported.

Other Requirements

Documentation

  • Documentation should be updated according to the changes made.

Code standards or guidelines

Judging Criteria

Resources

Existing issue:

Command autocompletions · Issue #102 · onflow/flow-cli

Current implementation:

Command autocomplete by sideninja · Pull Request #203 · onflow/flow-cli

srinjoyc avatar Sep 07 '21 20:09 srinjoyc

Hi 👋 my name is Gregor, and as a software engineer working on developer tools, I will be your point of contact for this task, so good luck, and don't hesitate to reach out to me with any problems or questions.

I'll keep an eye on your progress and will be reviewing your code.

You can comment here or find me on Discord (I'm sideninja#1970). Join the Flow Discord server if you're not there already!

devbugging avatar Sep 16 '21 08:09 devbugging

Can this be done completely through cobra?

eburnette avatar Sep 26 '21 16:09 eburnette

Can this be done completely through cobra?

Yes, the implementation is already in place and it should be further tested and made sure it works, taking into account the issues with autocompletion of file names.

devbugging avatar Sep 28 '21 10:09 devbugging

Hi @sideninja, We want to work on this issue. Team: https://www.hackerearth.com/challenges/hackathon/flip-fest/dashboard/92618d6/ Member: @1967coder @Anuj123verma @Hit26 @gauravmarwal

gauravmarwal avatar Sep 30 '21 08:09 gauravmarwal

Hi @sideninja We want to work on this issue Team: https://www.hackerearth.com/challenges/hackathon/flip-fest/dashboard/27ca50a/team/view/ Members: @mujtaba1747 @vedantatrivedi @jinit24 Deadline: 2 weeks

We are open to working together with other team/induviduals as well

mujtaba1747 avatar Oct 01 '21 19:10 mujtaba1747

Thanks for signing up, @gauravmarwal and @mujtaba1747!

For tier 3 tasks, you can get started right away 😄

psiemens avatar Oct 03 '21 14:10 psiemens