Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/cli / / StorageEncryptOptions
Interface: StorageEncryptOptions
Defined in: packages/cli/src/commands/storage.ts:132
Stable
Extends
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
config? | readonly | string | - | StorageCommonOptions.config | packages/cli/src/commands/storage.ts:45 |
json? | readonly | boolean | Emit a structured JSON document instead of human-readable text. | StorageCommonOptions.json | packages/cli/src/internal/output.ts:71 |
jsonPrint? | readonly | JsonSink | Test seam — capture JSON documents instead of writing to stdout. | StorageCommonOptions.jsonPrint | packages/cli/src/internal/output.ts:77 |
nonInteractive? | readonly | boolean | Force --non-interactive semantics (skip prompts; require flags / env). | StorageCommonOptions.nonInteractive | packages/cli/src/internal/output.ts:73 |
passphraseFrom | readonly | string | SecretRef URI for the new passphrase. | - | packages/cli/src/commands/storage.ts:134 |
print? | readonly | PrintSink | Test seam — capture human lines instead of writing to stderr. | StorageCommonOptions.print | packages/cli/src/internal/output.ts:75 |
swap? | readonly | boolean | If true, atomically swap the encrypted target into the storage.path location after the integrity check, leaving the original under <storage.path>.bak.<timestamp>. Default false. | - | packages/cli/src/commands/storage.ts:145 |
targetPath? | readonly | string | Optional explicit target path for the encrypted output. Default: <storage.path>.encrypted. | - | packages/cli/src/commands/storage.ts:139 |