flip-fest
flip-fest copied to clipboard
CLI Feature: Command autocomplete
👋 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
- Autocompletion works on all supported shells
- 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
- Follow the general contribution guidelines.
Judging Criteria
- For all projects, technical & high-level judging criteria apply.
Resources
Existing issue:
Command autocompletions · Issue #102 · onflow/flow-cli
Current implementation:
Command autocomplete by sideninja · Pull Request #203 · onflow/flow-cli
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!
Can this be done completely through cobra?
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.
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
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
Thanks for signing up, @gauravmarwal and @mujtaba1747!
For tier 3 tasks, you can get started right away 😄