2025-01-20 02:11:12 +01:00
|
|
|
import * as plugins from './plugins.js';
|
|
|
|
import { CliClient } from "./classes.cliclient.js";
|
|
|
|
|
2025-01-02 03:58:09 +01:00
|
|
|
export const runCli = async () => {
|
2025-01-20 02:11:12 +01:00
|
|
|
const cliQenv = new plugins.qenv.Qenv();
|
|
|
|
const apiClient = new plugins.servezoneApi.CloudlyApiClient({
|
|
|
|
registerAs: 'cli',
|
|
|
|
cloudlyUrl: await cliQenv.getEnvVarOnDemand('CLOUDLY_URL'),
|
|
|
|
});
|
|
|
|
const cliClient = new CliClient(apiClient);
|
2025-01-02 03:58:09 +01:00
|
|
|
};
|