blowhorn storage
blowhorn storage: connect, disconnect, list, rename.
The blowhorn storage commands. Each one's --help prints the same text.
| Command | What it does |
|---|---|
storage connect |
Connect a Google Drive account: open your Blowhorn account's Google Drive page in your |
storage disconnect |
Disconnect one of your Google Drive connections, named by its id: your Blowhorn account |
storage list |
List your Google Drive connections in your Blowhorn account, by email. |
storage rename |
Rename one of your Google Drive connections, named by its id (as storage list prints |
blowhorn storage connect
Connect a Google Drive account: open your Blowhorn account's Google Drive page in your browser, where you sign in and allow access. Google's answer goes to your Blowhorn account, never to this computer. --no-browser prints the address instead of opening it, and --json opens nothing and prints it as the first line. --wait SECONDS checks every 2 seconds for the new connection and answers it, or names the timeout (exit 1). --dry-run prints the address and opens, reads and waits for nothing.
blowhorn storage connect [OPTIONS] kind| Argument | Required | Description |
|---|---|---|
kind |
yes | The storage to connect: gdrive (Google Drive), the one kind Blowhorn connects today |
| Flag | Type | Default | Description |
|---|---|---|---|
--no-browser |
boolean | false |
Print the address instead of opening the browser |
--wait |
integer | 0 |
Wait up to SECONDS (0 to 1800) for the connection, checking every 2 seconds; 0, the default, does not wait |
--json |
boolean | false |
Emit machine-readable JSON output |
--platform |
string | Accepted and ignored by blowhorn storage: this command never acts on a platform, so --platform has no effect here -- including a value inherited from BLOWHORN_PLATFORM or defaults.platform in .blowhorn.yaml |
|
--pace |
string | Accepted by blowhorn storage connect because --pace is a global flag, but this command does no paced work -- it sleeps between nothing -- so the value changes nothing about how it runs and appears only in the Pace column of the -v summary. Resolved as CLI flag, then BLOWHORN_PACE, then defaults.pace in .blowhorn.yaml (normal when none is set); an unrecognized value is rejected before anything runs |
|
--risk-profile |
string | Accepted by blowhorn storage connect because --risk-profile is a global flag, but this command does no gated work -- no Risk Profile hold, cap or pace applies to it -- so the value changes nothing about how it runs. A value after the command word wins over one before it; an unrecognized value is rejected before anything runs |
Also takes the shared flags: --config, --log-dir, --profile, --exclude, --headless, --chrome-launch, --headed, --dry-run, --verbose.
Examples:
blowhorn storage connect gdrive --wait 300
blowhorn storage connect gdrive --no-browserOutput: json with --json, text otherwise.
blowhorn storage disconnect
Disconnect one of your Google Drive connections, named by its id: your Blowhorn account revokes Blowhorn's access with Google and removes the connection. Requires --yes; --dry-run asks nothing and disconnects nothing.
blowhorn storage disconnect [OPTIONS] ID| Argument | Required | Description |
|---|---|---|
ID |
yes | The connection's id, as storage list prints it |
| Flag | Type | Default | Description |
|---|---|---|---|
--yes |
boolean | false |
Confirm the disconnect; without it the command refuses and exits 1 |
--json |
boolean | false |
Emit machine-readable JSON output |
--platform |
string | Accepted and ignored by blowhorn storage: this command never acts on a platform, so --platform has no effect here -- including a value inherited from BLOWHORN_PLATFORM or defaults.platform in .blowhorn.yaml |
|
--pace |
string | Accepted by blowhorn storage disconnect because --pace is a global flag, but this command does no paced work -- it sleeps between nothing -- so the value changes nothing about how it runs and appears only in the Pace column of the -v summary. Resolved as CLI flag, then BLOWHORN_PACE, then defaults.pace in .blowhorn.yaml (normal when none is set); an unrecognized value is rejected before anything runs |
|
--risk-profile |
string | Accepted by blowhorn storage disconnect because --risk-profile is a global flag, but this command does no gated work -- no Risk Profile hold, cap or pace applies to it -- so the value changes nothing about how it runs. A value after the command word wins over one before it; an unrecognized value is rejected before anything runs |
Also takes the shared flags: --config, --log-dir, --profile, --exclude, --headless, --chrome-launch, --headed, --dry-run, --verbose.
Examples:
blowhorn storage disconnect 3f2b1c4d-8a9e-4c6b-9d1e-2a3b4c5d6e7f --dry-run
blowhorn storage disconnect 3f2b1c4d-8a9e-4c6b-9d1e-2a3b4c5d6e7f --yes --jsonOutput: json with --json, text otherwise.
blowhorn storage list
List your Google Drive connections in your Blowhorn account, by email. Each one's id, name, email and state: connected, or needs reconnect when Google no longer lets Blowhorn in. A connection is yours alone, never a profile's. Needs the store: unreachable is exit 3.
blowhorn storage list [OPTIONS]| Flag | Type | Default | Description |
|---|---|---|---|
--json |
boolean | false |
Emit machine-readable JSON output |
--platform |
string | Accepted and ignored by blowhorn storage: this command never acts on a platform, so --platform has no effect here -- including a value inherited from BLOWHORN_PLATFORM or defaults.platform in .blowhorn.yaml |
|
--pace |
string | Accepted by blowhorn storage list because --pace is a global flag, but this command does no paced work -- it sleeps between nothing -- so the value changes nothing about how it runs and appears only in the Pace column of the -v summary. Resolved as CLI flag, then BLOWHORN_PACE, then defaults.pace in .blowhorn.yaml (normal when none is set); an unrecognized value is rejected before anything runs |
|
--risk-profile |
string | Accepted by blowhorn storage list because --risk-profile is a global flag, but this command does no gated work -- no Risk Profile hold, cap or pace applies to it -- so the value changes nothing about how it runs. A value after the command word wins over one before it; an unrecognized value is rejected before anything runs |
Also takes the shared flags: --config, --log-dir, --profile, --exclude, --headless, --chrome-launch, --headed, --dry-run, --verbose.
Examples:
blowhorn storage list
blowhorn storage list --jsonOutput: json with --json, text otherwise.
blowhorn storage rename
Rename one of your Google Drive connections, named by its id (as storage list prints it). Only the name changes. --dry-run says what would change and writes nothing.
blowhorn storage rename [OPTIONS] ID name| Argument | Required | Description |
|---|---|---|
ID |
yes | The connection's id, as storage list prints it |
name |
yes | The connection's new name (1 to 255 characters) |
| Flag | Type | Default | Description |
|---|---|---|---|
--json |
boolean | false |
Emit machine-readable JSON output |
--platform |
string | Accepted and ignored by blowhorn storage: this command never acts on a platform, so --platform has no effect here -- including a value inherited from BLOWHORN_PLATFORM or defaults.platform in .blowhorn.yaml |
|
--pace |
string | Accepted by blowhorn storage rename because --pace is a global flag, but this command does no paced work -- it sleeps between nothing -- so the value changes nothing about how it runs and appears only in the Pace column of the -v summary. Resolved as CLI flag, then BLOWHORN_PACE, then defaults.pace in .blowhorn.yaml (normal when none is set); an unrecognized value is rejected before anything runs |
|
--risk-profile |
string | Accepted by blowhorn storage rename because --risk-profile is a global flag, but this command does no gated work -- no Risk Profile hold, cap or pace applies to it -- so the value changes nothing about how it runs. A value after the command word wins over one before it; an unrecognized value is rejected before anything runs |
Also takes the shared flags: --config, --log-dir, --profile, --exclude, --headless, --chrome-launch, --headed, --dry-run, --verbose.
Examples:
blowhorn storage rename 3f2b1c4d-8a9e-4c6b-9d1e-2a3b4c5d6e7f "Work Drive"Output: json with --json, text otherwise.