Skip to main content

git_assistant 0.1.0-dev copy "git_assistant: ^0.1.0-dev" to clipboard
git_assistant: ^0.1.0-dev copied to clipboard

discontinued
outdated

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

Git Assistant

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

BSD-3-Clause License Dart Version Dart Platform Support Under Development Coverage Status Workflow status pub


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

License #

Distributed under the BSD-3-Clause License. See LICENSE for more information.

1
likes
0
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta, path

More

Packages that depend on git_assistant