diff --git a/specs/ghq/create-a-repository-ghq.yaml b/specs/ghq/create-a-repository-ghq.yaml new file mode 100644 index 0000000..d207a90 --- /dev/null +++ b/specs/ghq/create-a-repository-ghq.yaml @@ -0,0 +1,10 @@ +name: Create new repository +command: |- + ghq create {{repository_name}} +tags: + - ghq +description: Creates new repository. +source_url: "https://github.com/x-motemen/ghq" +author: nagauta +author_url: "https://github.com/nagauta" +shells: [] diff --git a/specs/ghq/get-root-ghq.yaml b/specs/ghq/get-root-ghq.yaml new file mode 100644 index 0000000..76e3be9 --- /dev/null +++ b/specs/ghq/get-root-ghq.yaml @@ -0,0 +1,10 @@ +name: Print repositories' root +command: |- + ghq root +tags: + - ghq +description: Print repositories' root (i.e., `ghq.root`). Without '--all' option, the primary one is shown. +source_url: "https://github.com/x-motemen/ghq" +author: nagauta +author_url: "https://github.com/nagauta" +shells: [] diff --git a/specs/ghq/list-repositories-ghq.yaml b/specs/ghq/list-repositories-ghq.yaml new file mode 100644 index 0000000..770763a --- /dev/null +++ b/specs/ghq/list-repositories-ghq.yaml @@ -0,0 +1,10 @@ +--- +name: List Repositories managed by ghq +command: "ghq list" +tags: + - ghq +description: List Repositories managed by ghq +source_url: "https://github.com/x-motemen/ghq" +author: nagauta +author_url: "https://github.com/nagauta" +shells: [] diff --git a/specs/ghq/romove-a-repository-ghq.yaml b/specs/ghq/romove-a-repository-ghq.yaml new file mode 100644 index 0000000..5a49e81 --- /dev/null +++ b/specs/ghq/romove-a-repository-ghq.yaml @@ -0,0 +1,14 @@ +name: Remove local repository +command: |- + ghq rm {{repository_name}} +tags: + - ghq +description: Remove local repository. If '--dry-run' option is given, the repository is not actually removed but the path to it is printed. +arguments: + - name: repository_name + description: The name of the repository to be removed. optionally with --dry-run, the repository is not actually removed but the path to it is printed. (e.g., ) + default_value: ~ +source_url: "https://github.com/x-motemen/ghq" +author: nagauta +author_url: "https://github.com/nagauta" +shells: []