Skip to content

Implement Interactive Mode #1

@f-michaut

Description

@f-michaut

Implement interactive mode.

The user should have a banner with the available actions, which he can either type the name (like a bash command) or a shortcut (underlined or in parenthesis), or the number of the action.

Then, execute the selected action, display any output information to the user and prompt again.

Long actions (eg: download/upload) should happen async. The user can see the current status on each prompt refresh.


Actions :

  • list-files

  • send-file

  • receive-file

  • settings (edit Config)

  • enable/disable server

  • connect (to a different client)

  • exit

  • help

Certain actions (like settings) could open a sub-prompt, with different actions to choose from. Using help would only show theses new actions, and choosing exit would only exit the sub-prompt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions