mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-01 20:13:51 +01:00
651b17739c
* added utility info * moved info to running script * fix for RAM cost * description changes Co-authored-by: David Walker <d0sboots@gmail.com> * fixed wrong formatting * Added parent to ignored fields --------- Co-authored-by: David Walker <d0sboots@gmail.com>
25 lines
712 B
Markdown
25 lines
712 B
Markdown
<!-- 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
|
|
|
|
Parses the flags schema on the already inputted flags
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
flags(schema: [string, string | number | boolean | string[]][]): { [key: string]: ScriptArg | string[] };
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| schema | \[string, string \| number \| boolean \| string\[\]\]\[\] | |
|
|
|
|
**Returns:**
|
|
|
|
{ \[key: string\]: [ScriptArg](./bitburner.scriptarg.md) \| string\[\] }
|
|
|