Skip to content

Commit

Permalink
fixing merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shakilsiraj committed Nov 21, 2018
2 parents 31874a1 + 06ddb8f commit d7a692e
Show file tree
Hide file tree
Showing 16 changed files with 561 additions and 38 deletions.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ module.exports = {
"verbose": true,
"transformIgnorePatterns": [
"/node_modules/(?!@tsed/testing).+\\.js$"
]
],
"testEnvironment": "node"
}
138 changes: 125 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ogit",
"description": "A lazy developer's Git CLI made simple",
"version": "0.0.0",
"version": "1.4.0",
"author": "[email protected]",
"bin": {
"ogit": "./bin/run"
Expand All @@ -13,6 +13,7 @@
"@oclif/plugin-help": "^2.1.3",
"chalk": "^2.4.1",
"columnify": "^1.5.4",
"inquirer": "^6.2.0",
"json-object-mapper": "^1.5.2",
"reflect-metadata": "^0.1.12",
"simple-git": "^1.107.0",
Expand All @@ -27,6 +28,7 @@
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.5",
"@types/uuid": "^3.4.4",
"cli-ux": "^4.9.3",
"globby": "^8.0.1",
"jest": "^23.6.0",
"prettier": "^1.15.2",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/__tests__/checkstatus.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CheckStatusCommand from "../status-all";
import CheckStatusCommand from "../display-changes";

describe("ogit", () => {
describe("commands", () => {
Expand Down
20 changes: 20 additions & 0 deletions src/commands/checkout-repo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import 'reflect-metadata';
import { GitWrapper } from '../wrapper/git';
import { Command } from "@oclif/command";

export default class CheckoutRepoCommand extends Command {
static description = "Checkout a git repo into current directory";

static args = [
{
name: "url",
required: true,
description: 'URL of git reo'
}
];

async run() {
const { args } = this.parse(CheckoutRepoCommand);
await GitWrapper.checkoutRepo(args.url);
}
}
Loading

0 comments on commit d7a692e

Please sign in to comment.