0.2.5 • Published 3 years ago

@pubbo/collect-uncommitted v0.2.5

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

@pubbo/collect-uncommitted

Check git working tree status and collect uncommitted changes for display

Usage

const collectUncommitted = require("@pubbo/collect-uncommitted");

// values listed here are their defaults
const options = {
  cwd: process.cwd(),
  log: require("npmlog"),
};

(async () => {
  try {
    const results = await collectUncommitted(options);
    console.log(`Uncommitted changes on CWD ${options.cwd}: ${results.join("\n")}`);
  } catch (err) {
    console.error(err.message);
  }
})();

Install lerna for access to the lerna CLI.

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.11

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago