Git Assistant with Flutter

  Article, Flutter App

Git Assistant

Assists you to use git and .git in easy and simple way with robust API.

Features

Implemented

  • Command generator and executor
    • Generates command sequence
    var git = Git(); print(git.log.prettyOpt(PF.oneline)); // ‘git log –pretty=oneline’ print(git.log); // ‘git log’
    • Executes command sequence
    var git = Git(); // Executes ‘git log –pretty=tformat:commit hash = %H’ and returns stdout git.log.prettyOpt(‘commit hash = ${PP.commitHash.string}’).exec(); git.log.exec(); // Executes ‘git log’
  • Git commands support
    • Log – command
      • Pretty – option
      // you can use pretty option with two formatting choices: // 1. Basic formatter in PF enum such email, oneline and etc. // 2. Custom formatter which use tformat and placeholders in PP. var git = Git(); git.log.prettyOpt(PF.oneline).exec(); // ‘git log –pretty=oneline’ // ‘git log –pretty=tformat:commit %H’ print(git.log.prettyOpt(‘commit ${PP.commitHash.string}’));

You can see feature implementation todo in repository projects

Contribute on GitHub

https://github.com/EhsanAramide/git-assistant