File: milestones.t

package info (click to toggle)
gcli 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,476 kB
  • sloc: ansic: 25,411; sh: 580; makefile: 509; yacc: 261; lex: 59
file content (16 lines) | stat: -rw-r--r-- 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include "gcli/milestones.h";

parser github_milestone is
object of struct gcli_milestone with
	("number" => id as id,
	 "title" => title as string,
	 "created_at" => created_at as iso8601_time,
	 "state" => state as string,
	 "updated_at" => updated_at as iso8601_time,
	 "description" => description as string,
	 "open_issues" => open_issues as int,
	 "closed_issues" => closed_issues as int,
	 "html_url" => web_url as string);

parser github_milestones is
array of struct gcli_milestone use parse_github_milestone;