GithubHelp home page GithubHelp logo

Comments (5)

dbofmmbt avatar dbofmmbt commented on June 15, 2024 1

I like the idea of allowing the user to review/edit the final message.

Both approaches are nice, but I think changing -e may be the way to go, initially. IMO, its current behavior makes using the editor too manual, as you have to build each part of the message yourself. Also, changing the behavior of an option rather than the main flow looks less impactful.

It think it would be good for the user experience to add a "do you want to review?" question in the end of the process, though. Currently, the CLI writes the commit right after it got all the information from the user, without allowing its review.

from git-cm.

mainrs avatar mainrs commented on June 15, 2024 1

v0.2.0 has been released. You can either download a pre-built binary or build it from source using crates. homebrew tap is in the works :)

from git-cm.

mainrs avatar mainrs commented on June 15, 2024

I see. Would a last question with a default to no be good for this case? If the user presses y, the editor would open with the already generated text in it.

Another option would be to change the current behavior of the -e flag and make it open after all questions have been asked.

What do you think would be a better approach?

from git-cm.

mainrs avatar mainrs commented on June 15, 2024

It think it would be good for the user experience to add a "do you want to review?" question in the end of the process, though. Currently, the CLI writes the commit right after it got all the information from the user, without allowing its review.

I didn't add it at the beginning as you could always run git commit --amend to basically do the same. I do see why someone might want that though 😄

from git-cm.

mainrs avatar mainrs commented on June 15, 2024

Homebrew tap is done as well. You can install it via brew install sirwindfield/tap/git-cm. Should work for macOS and Linux as well (if homebrew is installed) :)

from git-cm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.