local parser = clink.arg.new_parser
local adk_parser = parser(
	{
--buildin script
	"ftyrst",
	"pk",
	"root",
	"smartisan-active",
	"smartisan-launcher",
	"listapk",
	"focusedapk",
	"panic",
	"hexdump",
	"cpu-performance",
	"net-shell",
	"flash-dir",
	"symbol-dir",
	"hwinfo",
--trace
    "strace",
	"ltrace",
    "debuggerd",
    "debuggerd64",
--wifi
    "wpa_cli",
	"wl",
--net
	"tcpdump",
	"netstat",
	"ip",
	"iptables",
	"ndc",
--coreutils
	"ps",
	"top",
	"printenv",
	"ifconfig",
	"vmstat",
	"procrank",
	"lsof",
	"busybox",
	"getevent",
--log
    "logcat",
    "dmesg",
--android
	"getenforce",
	"setenforce",
	"getprop",
	"setprop",
	"start",
	"stop",
	"netcfg",
	"svc",
	"am",
	"dumpsys" .. parser({
		"SurfaceFlinger",
		"accessibility",
		"account",
		"activity",
		"alarm",
		"appwidget",
		"audio",
		"backup",
		"battery",
		"batteryinfo",
		"bluetooth",
		"bluetooth_a2dp",
		"clipboard",
		"connectivity",
		"content",
		"cpuinfo",
		"device_policy",
		"devicestoragemonitor",
		"diskstats",
		"dropbox",
		"entropy",
		"ethernet",
		"hardware",
		"input_method",
		"iphonesubinfo",
		"isms",
		"keybar",
		"location",
		"media.audio_flinger",
		"media.audio_policy",
		"media.camera",
		"media.player",
		"meminfo",
		"mount",
		"netstat",
		"network_management",
		"notification",
		"package",
		"permission",
		"phone",
		"power",
		"search",
		"sensorservice",
		"simphonebook",
		"statusbar",
		"telephony.registry",
		"throttle",
		"uimode",
		"usagestats",
		"vibrator",
		"wallpaper",
		"wifi",
		"window"}
	),
	"dumpstate",
	"screencap",
	"pm",
--reboot
    "reboot",
	"reboot -p",
	"reboot edl",
	"reboot recovery",
	"reboot bootloader"
    },
	"-h"
)         
clink.arg.register_parser("adk", adk_parser)