File: labels.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 (13 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (3)
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;