Skip to content

Consider rebuilding the UI based on CLI arguments/options. #38

Description

@homeworkprod

While the current interactive UI seems nice at first, it becomes tiresome when used frequently.

Giving a single wrong value or trying another image requires walking through the whole process again.

Using a command-line interface instead would allow users to re-use and slightly adjust the command they just issued on the shell, and to create very basic shell scripts as some form of configuration file/wrapper.

  • Values with useful defaults (e.g. GitHub's hostname) can be assumed and only overridden if necessary, saving hitting <Enter> on every run.
  • Values specific to the user's current goal can be re-used and don't have to be typed again on every run.
  • An image (or at least one, this could be extended in the future) has to be given no matter what, so why not make that either a positional argument or a required (repeatable) option.

etc., you get the idea.

Then again, CLI arguments could be implemented, but gitfiti could still provide an interactive frontend for newcomers, leaving the former to more experienced, power-hungry users.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions