File: labels.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 (13 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
include "gcli/github/labels.h";

parser github_label_text is object of char* select "name" as string;

parser github_label is
object of struct gcli_label with
	("id"          => id as id,
	 "name"        => name as string,
	 "description" => description as string,
	 "color"       => colour as github_style_colour);

parser github_labels is array of struct gcli_label
	use parse_github_label;