unstaged

command module
v0.0.0-...-85eca4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 2 Imported by: 0

README

Unstaged

Check for unstaged changes across a set of git repositories that you configure.

Build Status

Usage:
unstaged [--flags] [/path/to/repo]

  -f, --file      config file path
  -h, --help      display help
  -v, --verbose   display verbose output
      --version   display version

You can specify the repo to check against as a command line parameter using format unstaged /path/to/repo or use a yaml configuration file to specify the list of repos to check against.

Configuration file:

unstaged looks for config file in a directory unstaged to be present inside user config location as returned by os.UserConfigDir() and must be of the following format:

  repos:
    - /path/to/repo/one
    - /path/to/repo/two
    - ...
Screenshot:

License

This package is under the MIT License. See LICENSE.

Documentation

Overview

Package unstaged parses a yaml configuration file containing a list of repos that need to be checked for unstaged changes.

The repository yaml should live in path:

$HOME/.unstaged.yaml

This configuration should be in the following format.

repos:
  - /path/to/repo/one
  - /path/to/repo/two
  - ...

This script will only check for unstaged changes and currently does not check committed changes against an upstream.

Copyright 2019 Jose R. Gonzalez. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Directories

Path Synopsis
Package cmd exposes the CLI for Unstaged.
Package cmd exposes the CLI for Unstaged.
Package version contains version variables that will be manipulated at release build time.
Package version contains version variables that will be manipulated at release build time.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL