@electric-sql/cli
Version:
ElectricSQL command line interface (CLI).
19 lines • 522 B
JavaScript
import { Command } from "commander";
import { getConfig } from '../config.js';
import { dockerCompose } from './docker-utils.js';
function makeStatusCommand() {
return new Command("status").description(
"Show status of the ElectricSQL sync service docker containers"
).action(() => {
const config = getConfig();
status({ config });
});
}
function status({ config }) {
dockerCompose("ps", [], config.CONTAINER_NAME);
}
export {
makeStatusCommand,
status
};
//# sourceMappingURL=command-status.js.map