https://github.com/tim-smart/node-bzr
A Node.js wrapper for the Bazaar SCM cli
https://github.com/tim-smart/node-bzr
Last synced: 9 months ago
JSON representation
A Node.js wrapper for the Bazaar SCM cli
- Host: GitHub
- URL: https://github.com/tim-smart/node-bzr
- Owner: tim-smart
- Created: 2021-01-02T23:20:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-03T20:47:19.000Z (over 5 years ago)
- Last Synced: 2025-04-08T13:16:13.600Z (about 1 year ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-bzr
A simple node wrapper around the `bzr` source code management tool.
## Usage
```typescript
import Bzr from "bzr";
const bzr = Bzr("path/to/working/directory");
bzr
.raw(["branch", "lp:myrepo"])
.then(() => {
console.log("Code copied!");
return bzr.tags();
})
.then((tags) => {
console.log("Here are the tags:", tags);
});
```