Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ghq commands #172

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
10 changes: 10 additions & 0 deletions specs/ghq/create-a-repository-ghq.yaml
Original file line number Diff line number Diff line change
@@ -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: []
10 changes: 10 additions & 0 deletions specs/ghq/get-root-ghq.yaml
Original file line number Diff line number Diff line change
@@ -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: []
10 changes: 10 additions & 0 deletions specs/ghq/list-repositories-ghq.yaml
Original file line number Diff line number Diff line change
@@ -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: []
14 changes: 14 additions & 0 deletions specs/ghq/romove-a-repository-ghq.yaml
Original file line number Diff line number Diff line change
@@ -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: []
Loading