gcli-milestones1
List and manage milestones in various git forges
Usage
gcli [-o
owner
-r
repo]
gcli [-o
owner
-r
repo]
[-i
id]
gcli create
[-o
owner
-r
repo]
-t
title
[-d
description]
Overview
The gcli command can be used to work with milestones on various git(1) forges. You can list, create, modify or delete milestons.
Options
-
-i, --id id -
Operate on a milestone with the given id.
-
-o, --owner owner -
Work with milestones on a repository of the given owner.
-
-r, --repo repo -
Work with milestones on the given repository.
-
-t, --title title -
Create a milestone with the given title. This option is mandatory when creating a milestone.
-
-d, --description description -
Create the milestone with the given description.
Actions
When operating on a single milestone you may use one or more of the following actions:
all-
Print both general status info and a list of issues related to the given milestone.
status-
Print general metadata and information about the milestone.
issues-
Print a list of issues attached to the milestone.
delete-
Delete this milestone.
Examples
Print a list of milestones for the current autodetected forge:
$ gcli milestones
Print details about the milestone with the ID 42:
$ gcli milestones -i 42 status
Create a new milestone with the title foobar:
$ gcli milestones create -t foobar
Delete milestone number 420 in vim/vim on Github:
$ gcli -t github milestones -i 420 delete