Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/auth/login_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestLoginCmd_BrowserFlow(t *testing.T) {
t.Error("expected BrowserLogin to be called")
}
out := buf.String()
if !strings.Contains(out, "app.keeperhub.io") {
if !strings.Contains(out, "app.keeperhub.com") {
t.Errorf("expected host in output, got: %q", out)
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func NewConfigCmd(f *cmdutil.Factory) *cobra.Command {
kh config ls

# Set the default host
kh config set default_host app.keeperhub.io`,
kh config set default_host app.keeperhub.com`,
}

cmd.AddCommand(NewSetCmd(f))
Expand Down
2 changes: 1 addition & 1 deletion cmd/config/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ all valid keys.

See also: kh config list, kh config get`,
Example: ` # Set the default host
kh config set default_host app.keeperhub.io
kh config set default_host app.keeperhub.com

# Point CLI at a self-hosted instance
kh config set default_host https://kh.mycompany.io`,
Expand Down
2 changes: 1 addition & 1 deletion cmd/doctor/doctor.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func getHost(f *cmdutil.Factory) (string, error) {
}
host := cfg.DefaultHost
if host == "" {
host = "app.keeperhub.io"
host = "app.keeperhub.com"
}
return host, nil
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/help/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func NewEnvironmentTopic() *cobra.Command {
Use: "environment",
Short: "Environment variables used by kh",
Long: `KH_HOST
Override the KeeperHub API host. Default: app.keeperhub.io
Override the KeeperHub API host. Default: app.keeperhub.com
Example: KH_HOST=https://kh.mycompany.io kh workflow list

KH_API_KEY
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func NewRootCmd(f *cmdutil.Factory) *cobra.Command {
cmd.PersistentFlags().String("jq", "", "Filter JSON output with a jq expression")
cmd.PersistentFlags().BoolP("yes", "y", false, "Skip confirmation prompts")
cmd.PersistentFlags().Bool("no-color", false, "Disable color output")
cmd.PersistentFlags().StringP("host", "H", "", "KeeperHub host (default: app.keeperhub.io)")
cmd.PersistentFlags().StringP("host", "H", "", "KeeperHub host (default: app.keeperhub.com)")

cmd.AddCommand(action.NewActionCmd(f))
cmd.AddCommand(auth.NewAuthCmd(f))
Expand Down
2 changes: 1 addition & 1 deletion cmd/run/cancel.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func NewCancelCmd(f *cmdutil.Factory) *cobra.Command {
host = cfg.DefaultHost
}
if host == "" {
host = "app.keeperhub.io"
host = "app.keeperhub.com"
}

// Confirmation: skip if --yes or non-TTY (auto-proceed in non-interactive mode).
Expand Down
2 changes: 1 addition & 1 deletion cmd/run/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func NewLogsCmd(f *cmdutil.Factory) *cobra.Command {
host = cfg.DefaultHost
}
if host == "" {
host = "app.keeperhub.io"
host = "app.keeperhub.com"
}

url := khhttp.BuildBaseURL(host) + "/api/workflows/executions/" + runID + "/logs"
Expand Down
2 changes: 1 addition & 1 deletion cmd/run/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ See also: kh r l, kh r cancel, kh wf run`,
host = cfg.DefaultHost
}
if host == "" {
host = "app.keeperhub.io"
host = "app.keeperhub.com"
}

watch, _ := cmd.Flags().GetBool("watch")
Expand Down
2 changes: 1 addition & 1 deletion docs/kh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ KeeperHub CLI

```
-h, --help help for kh
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_action.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Browse available actions
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--no-color Disable color output
-y, --yes Skip confirmation prompts
```
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_action_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh action get <action-name> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_action_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kh action list [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Authenticate with KeeperHub
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_auth_login.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ kh auth login [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_auth_logout.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ kh auth logout [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_auth_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh auth status [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ View billing and usage
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--no-color Disable color output
-y, --yes Skip confirmation prompts
```
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_billing_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh billing status [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_billing_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kh billing usage [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ kh completion <shell> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
4 changes: 2 additions & 2 deletions docs/kh_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Manage CLI configuration
kh config ls

# Set the default host
kh config set default_host app.keeperhub.io
kh config set default_host app.keeperhub.com
```

### Options
Expand All @@ -21,7 +21,7 @@ Manage CLI configuration
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_config_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kh config get <key> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_config_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kh config list [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
4 changes: 2 additions & 2 deletions docs/kh_config_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kh config set <key> <value> [flags]

```
# Set the default host
kh config set default_host app.keeperhub.io
kh config set default_host app.keeperhub.com

# Point CLI at a self-hosted instance
kh config set default_host https://kh.mycompany.io
Expand All @@ -33,7 +33,7 @@ kh config set <key> <value> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ kh doctor [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_execute.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ See also: kh r st, kh wf run
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_execute_contract-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ kh execute contract-call [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_execute_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ kh execute status <execution-id> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_execute_transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ kh execute transfer [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_org.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Manage organizations
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--no-color Disable color output
-y, --yes Skip confirmation prompts
```
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_org_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh org list [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_org_members.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh org members [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_org_switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh org switch <org-slug> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Manage projects
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--no-color Disable color output
```

Expand Down
2 changes: 1 addition & 1 deletion docs/kh_project_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kh project create <name> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_project_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh project delete <project-id> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_project_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh project get <project-id> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_project_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kh project list [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Browse blockchain protocols
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_protocol_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kh protocol get <protocol-slug> [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
2 changes: 1 addition & 1 deletion docs/kh_protocol_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kh protocol list [flags]
### Options inherited from parent commands

```
-H, --host string KeeperHub host (default: app.keeperhub.io)
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
Expand Down
Loading
Loading