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 .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "vendor/sluiceway"]
path = vendor/sluiceway
url = https://github.com/sluiceway/sluiceway.git
branch = v0.45.0
branch = v0.46.0
16 changes: 8 additions & 8 deletions src/lib/command-line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ const STACKS = [
},
];

const ORG = { login: "acme", kind: "organization", page: "https://app.sluiceway.dev/acme" };
const ORG = { login: "acme", kind: "organization", page: "https://console.sluiceway.dev/acme" };

const REPO_LINE = {
name: "acme/infra",
page: "https://app.sluiceway.dev/acme/infra",
page: "https://console.sluiceway.dev/acme/infra",
dashboard: "https://github.com/acme/infra/issues/7",
stacks: 4,
counts: COUNTS,
Expand All @@ -91,15 +91,15 @@ export const EXAMPLES: ExampleGroup[] = [
{
command: "sluiceway login",
words: [
"Signed in to https://app.sluiceway.dev as alice, for acme, with the token laptop, which works until 2026-12-25T00:00:00Z.",
"Signed in to https://console.sluiceway.dev as alice, for acme, with the token laptop, which works until 2026-12-25T00:00:00Z.",
"The token is kept in the macOS keychain.",
].join("\n"),
exit: 0,
},
{
command: "sluiceway login --json < token.txt",
json: {
app: "https://app.sluiceway.dev",
app: "https://console.sluiceway.dev",
login: "alice",
org: "acme",
token: { name: "laptop", expiresAt: "2026-12-25T00:00:00Z" },
Expand Down Expand Up @@ -219,7 +219,7 @@ export const EXAMPLES: ExampleGroup[] = [
sentence: "The tick of network:prod is asked: the deployment record is open.",
deployment: {
id: 4242,
status: "https://app.sluiceway.dev/api/v1/orgs/acme/repos/infra/deployments/4242",
status: "https://console.sluiceway.dev/api/v1/orgs/acme/repos/infra/deployments/4242",
},
dashboard: DASHBOARD,
},
Expand Down Expand Up @@ -343,8 +343,8 @@ export const EXAMPLES: ExampleGroup[] = [
{
command: "sluiceway logout",
words: [
"Signed out of https://app.sluiceway.dev: the token is gone from the macOS keychain.",
"It still works until it expires. Revoke it on https://app.sluiceway.dev/settings/tokens to stop it now.",
"Signed out of https://console.sluiceway.dev: the token is gone from the macOS keychain.",
"It still works until it expires. Revoke it on https://console.sluiceway.dev/settings/tokens to stop it now.",
].join("\n"),
exit: 0,
},
Expand All @@ -364,7 +364,7 @@ export const EXAMPLES: ExampleGroup[] = [
command: "sluiceway status --json",
json: {
error:
"Not signed in to https://app.sluiceway.dev. Make a token on https://app.sluiceway.dev/settings/tokens, then run sluiceway login.",
"Not signed in to https://console.sluiceway.dev. Make a token on https://console.sluiceway.dev/settings/tokens, then run sluiceway login.",
code: "not-signed-in",
exit: 3,
},
Expand Down
Loading