refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -4,9 +4,9 @@ import { parseSystemdExecStart } from "./systemd-unit.js";
describe("parseSystemdExecStart", () => {
it("splits on whitespace outside quotes", () => {
const execStart = "/usr/bin/moltbot gateway start --foo bar";
const execStart = "/usr/bin/openclaw gateway start --foo bar";
expect(parseSystemdExecStart(execStart)).toEqual([
"/usr/bin/moltbot",
"/usr/bin/openclaw",
"gateway",
"start",
"--foo",
@@ -15,9 +15,9 @@ describe("parseSystemdExecStart", () => {
});
it("preserves quoted arguments", () => {
const execStart = '/usr/bin/moltbot gateway start --name "My Bot"';
const execStart = '/usr/bin/openclaw gateway start --name "My Bot"';
expect(parseSystemdExecStart(execStart)).toEqual([
"/usr/bin/moltbot",
"/usr/bin/openclaw",
"gateway",
"start",
"--name",
@@ -26,13 +26,13 @@ describe("parseSystemdExecStart", () => {
});
it("parses path arguments", () => {
const execStart = "/usr/bin/moltbot gateway start --path /tmp/moltbot";
const execStart = "/usr/bin/openclaw gateway start --path /tmp/openclaw";
expect(parseSystemdExecStart(execStart)).toEqual([
"/usr/bin/moltbot",
"/usr/bin/openclaw",
"gateway",
"start",
"--path",
"/tmp/moltbot",
"/tmp/openclaw",
]);
});
});