Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement more commands, tag to 0.0.2
- Loading branch information
1 parent
0088192
commit 37c6a18
Showing
4 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env node | ||
|
||
var program = require('commander'); | ||
|
||
program | ||
.version(require('./package.json').version) | ||
.usage('ref') | ||
.parse(process.argv); | ||
|
||
throw new Error("TODO: Implement checkout command"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env node | ||
|
||
var program = require('commander'); | ||
|
||
program | ||
.version(require('./package.json').version) | ||
.command("clone [url] [options]", "Clone a remote repository from [url]") | ||
.command("checkout [ref]", "Checkout working directory to a named branch or tag for [ref]") | ||
.parse(process.argv); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters