File: milestones.t

package info (click to toggle)
gcli 2.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,652 kB
  • sloc: ansic: 27,086; sh: 678; makefile: 545; perl: 392; yacc: 261; lex: 60
file content (15 lines) | stat: -rw-r--r-- 505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include "gcli/milestones.h";

parser gitlab_milestone is
object of struct gcli_milestone with
	("title" => title as string,
	 "id" => id as id,
	 "state" => state as string,
	 "created_at" => created_at as iso8601_time,
	 "description" => description as string,
	 "updated_at" => updated_at as iso8601_time,
	 "due_date" => due_date as iso8601_time,
	 "expired" => expired as bool,
	 "web_url" => web_url as string);

parser gitlab_milestones is array of struct gcli_milestone use parse_gitlab_milestone;