2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [AutocompleteData](./bitburner.autocompletedata.md) > [flags](./bitburner.autocompletedata.flags.md)
|
|
|
|
|
|
|
|
## AutocompleteData.flags() method
|
|
|
|
|
2024-09-08 02:34:24 +02:00
|
|
|
Parses the flags schema on the already inputted flags
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
flags(schema: [string, string | number | boolean | string[]][]): { [key: string]: ScriptArg | string[] };
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| schema | \[string, string \| number \| boolean \| string\[\]\]\[\] | |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
{ \[key: string\]: [ScriptArg](./bitburner.scriptarg.md) \| string\[\] }
|
|
|
|
|