From c32a3d476a5c5a45fc9d9af45b7393d6f9cc1db0 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 6 Dec 2014 10:55:55 -0500 Subject: Initial commit. * Start of README with an idea for the commands * Code to grab command line arguments with help from gobyexample.com --- README.md | 8 ++++++++ git-checkout-history/main.go | 0 git-checkout-store/main.go | 13 +++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 README.md create mode 100644 git-checkout-history/main.go create mode 100644 git-checkout-store/main.go diff --git a/README.md b/README.md new file mode 100644 index 0000000..e0eb597 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +git-checkout-history +==================== + + + + + $ git checkout-save a-branch-name + $ git checkout-history diff --git a/git-checkout-history/main.go b/git-checkout-history/main.go new file mode 100644 index 0000000..e69de29 diff --git a/git-checkout-store/main.go b/git-checkout-store/main.go new file mode 100644 index 0000000..d02f8ad --- /dev/null +++ b/git-checkout-store/main.go @@ -0,0 +1,13 @@ +package main + + +import ( + "os" + "fmt" +) + + +func main() { + args := os.Args[1:] + fmt.Println(args) +} -- cgit v1.2.3