uplink-cli 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -272,7 +272,7 @@ export const menuCommand = new Command("menu")
|
|
|
272
272
|
// If authentication failed, show ONLY "Get Started" and "Exit"
|
|
273
273
|
if (authFailed) {
|
|
274
274
|
mainMenu.push({
|
|
275
|
-
label: "
|
|
275
|
+
label: "Get Started",
|
|
276
276
|
action: async () => {
|
|
277
277
|
restoreRawMode();
|
|
278
278
|
clearScreen();
|
|
@@ -828,7 +828,7 @@ export const menuCommand = new Command("menu")
|
|
|
828
828
|
label: "Usage",
|
|
829
829
|
subMenu: [
|
|
830
830
|
{
|
|
831
|
-
label: isAdmin ? "List Tunnels
|
|
831
|
+
label: isAdmin ? "List All Tunnels" : "List My Tunnels",
|
|
832
832
|
action: async () => {
|
|
833
833
|
const runningClients = findTunnelClients();
|
|
834
834
|
const path = isAdmin ? "/v1/admin/tunnels?limit=20" : "/v1/tunnels";
|
|
@@ -861,7 +861,7 @@ export const menuCommand = new Command("menu")
|
|
|
861
861
|
},
|
|
862
862
|
},
|
|
863
863
|
{
|
|
864
|
-
label: isAdmin ? "List Databases
|
|
864
|
+
label: isAdmin ? "List All Databases" : "List My Databases",
|
|
865
865
|
action: async () => {
|
|
866
866
|
const path = isAdmin ? "/v1/admin/databases?limit=20" : "/v1/dbs";
|
|
867
867
|
const result = await apiRequest("GET", path);
|
|
@@ -892,7 +892,7 @@ export const menuCommand = new Command("menu")
|
|
|
892
892
|
// Admin-only: Manage Tokens
|
|
893
893
|
if (isAdmin) {
|
|
894
894
|
mainMenu.push({
|
|
895
|
-
label: "Manage Tokens
|
|
895
|
+
label: "Manage Tokens",
|
|
896
896
|
subMenu: [
|
|
897
897
|
{
|
|
898
898
|
label: "List Tokens",
|
|
@@ -964,7 +964,7 @@ export const menuCommand = new Command("menu")
|
|
|
964
964
|
|
|
965
965
|
// Admin-only: Stop ALL Tunnel Clients (kill switch)
|
|
966
966
|
mainMenu.push({
|
|
967
|
-
label: "
|
|
967
|
+
label: "Stop All Tunnel Clients",
|
|
968
968
|
action: async () => {
|
|
969
969
|
const clients = findTunnelClients();
|
|
970
970
|
if (clients.length === 0) {
|
package/package.json
CHANGED