Skip to content

Commit f46a2ef

Browse files
Add default values
1 parent ebbbc89 commit f46a2ef

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

lib/types.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,25 @@ export interface AppInfo {
4242
* Options for executing devicectl commands
4343
*/
4444
export interface ExecuteOptions {
45-
/** Whether to add the --device option to the actual devicectl command */
45+
/**
46+
* Whether to add the --device option to the actual devicectl command
47+
* @default false
48+
*/
4649
noDevice?: boolean;
47-
/** Whether to log stdout output */
50+
/**
51+
* Whether to log stdout output
52+
* @default false
53+
*/
4854
logStdout?: boolean;
49-
/** Whether to return JSON output */
55+
/**
56+
* Whether to return JSON output
57+
* @default true
58+
*/
5059
asJson?: boolean;
51-
/** Whether to run the command asynchronously */
60+
/**
61+
* Whether to run the command asynchronously
62+
* @default false
63+
*/
5264
asynchronous?: boolean;
5365
/** Additional subcommand options */
5466
subcommandOptions?: string[] | string;

0 commit comments

Comments
 (0)