pr

p4-robot

Node port to perforce

Showing:

Popularity

Downloads/wk

6

GitHub Stars

0

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

9

Size (min+gzip)

42.1KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

P4 Robot

Event driven Perforce module for Node JS

Installation

npm install --save p4-robot

Usage

var Robot = require('p4-robot')
  , p4 = new Robot();

p4.$after('login', function() {
  p4.add('file.js');
  if (p4.opened('file.js')) {
    console.log('Added File to Perforce');
  }
});
//logs Added File to Perforce

p4.login('mySecretPassword');

Available methods:

  • add
  • chmod
  • client
  • edit
  • editOrAdd
  • exec
  • exists
  • lock
  • login
  • logout
  • opened
  • reopen
  • revert
  • submit
  • sync
  • test
  • unlock

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100