import { createApiClient } from "../../common/api/client.js";
import { printResultToConsoleAndExitGracefully } from "../../common/output.js";
export async function describe(argv) {
    const { account, fleet } = argv;
    const client = createApiClient({ authToken: argv.authToken });
    const proxyConfig = await client.get(`/v1/accounts/${account}/fleets/${fleet}/proxy-configuration`, {
        operation: "Failed to describe proxy configuration",
        errorMessage: "Error: Failed to describe proxy configuration. Check the arguments.",
    });
    await printResultToConsoleAndExitGracefully(JSON.stringify(proxyConfig, null, 2));
}
//# sourceMappingURL=handler.js.map