chore: Prepare for initial release of the LOM.
This commit is contained in:
parent
4209e01e96
commit
cc9d0538b4
3 changed files with 12 additions and 12 deletions
|
@ -37,7 +37,7 @@ export async function run(
|
|||
) {
|
||||
const program = new SSHCommand(println);
|
||||
program.description("Manages backends for NextNet");
|
||||
program.version("v1.0.0-testing");
|
||||
program.version("v1.0.0");
|
||||
|
||||
const addBackend = new SSHCommand(println, "add");
|
||||
|
||||
|
@ -285,7 +285,7 @@ export async function run(
|
|||
connectionDetails = JSON.stringify(unstringifiedArguments);
|
||||
}
|
||||
|
||||
const response = await axios.post("/api/v1/backends/lookup", {
|
||||
const response = await axios.post("/api/v1/backends/create", {
|
||||
token,
|
||||
|
||||
name,
|
||||
|
@ -301,7 +301,7 @@ export async function run(
|
|||
if (response.data.error) {
|
||||
println(`Error: ${response.data.error}\n`);
|
||||
} else {
|
||||
println("Error stopping a connection!\n");
|
||||
println("Error creating a backend!\n");
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -322,7 +322,7 @@ export async function run(
|
|||
return;
|
||||
}
|
||||
|
||||
const response = await axios.post("/api/v1/backends/create", {
|
||||
const response = await axios.post("/api/v1/backends/remove", {
|
||||
token,
|
||||
id
|
||||
});
|
||||
|
@ -383,7 +383,7 @@ export async function run(
|
|||
if (response.data.error) {
|
||||
println(`Error: ${response.data.error}\n`);
|
||||
} else {
|
||||
println("Error stopping a connection!\n");
|
||||
println("Error looking up backends!\n");
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -467,7 +467,7 @@ export async function run(
|
|||
if (response.data.error) {
|
||||
println(`Error: ${response.data.error}\n`);
|
||||
} else {
|
||||
println("Error stopping a connection!\n");
|
||||
println("Error getting logs!\n");
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
@ -47,7 +47,7 @@ export async function run(
|
|||
|
||||
const program = new SSHCommand(println);
|
||||
program.description("Manages connections for NextNet");
|
||||
program.version("v1.0.0-testing");
|
||||
program.version("v1.0.0");
|
||||
|
||||
const addCommand = new SSHCommand(println, "add");
|
||||
addCommand.description("Creates a new connection");
|
||||
|
@ -125,7 +125,7 @@ export async function run(
|
|||
if (response.data.error) {
|
||||
println(`Error: ${response.data.error}\n`);
|
||||
} else {
|
||||
println("Error requesting connections!\n");
|
||||
println("Error creating a connection!\n");
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -357,7 +357,7 @@ export async function run(
|
|||
if (response.data.error) {
|
||||
println(`Error: ${response.data.error}\n`);
|
||||
} else {
|
||||
println("Error requesting connections!\n");
|
||||
println("Error requesting inbound connections!\n");
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
|
@ -25,7 +25,7 @@ export async function run(
|
|||
|
||||
const program = new SSHCommand(println);
|
||||
program.description("Manages users for NextNet");
|
||||
program.version("v1.0.0-testing");
|
||||
program.version("v1.0.0");
|
||||
|
||||
const addCommand = new SSHCommand(println, "add");
|
||||
addCommand.description("Create a new user");
|
||||
|
@ -88,7 +88,7 @@ export async function run(
|
|||
if (response.data.error) {
|
||||
println(`Error: ${response.data.error}\n`);
|
||||
} else {
|
||||
println("Error requesting connections!\n");
|
||||
println("Error creating users!\n");
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -164,7 +164,7 @@ export async function run(
|
|||
if (response.data.error) {
|
||||
println(`Error: ${response.data.error}\n`);
|
||||
} else {
|
||||
println("Error finding user!\n");
|
||||
println("Error finding users!\n");
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue