Commit 1437627f authored by Hasang Cho's avatar Hasang Cho
Browse files

feat(cli/inbox): add --actor-name and --actor-summary options to inbox command

parent 77901b2c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -77,6 +77,16 @@ export const command = new Command()
    "-T, --no-tunnel",
    "Do not tunnel the ephemeral ActivityPub server to the public Internet.",
  )
  .option(
    "--actor-name=<name:string>",
    "Customize the actor display name.",
    { default: "Fedify Ephemeral Inbox" },
  )
  .option(
    "--actor-summary=<summary:string>",
    "Customize the actor description.",
    { default: "An ephemeral ActivityPub inbox for testing purposes." },
  )
  .action(async (options: InboxOptions) => {
    const spinner = ora({
      text: "Spinning up an ephemeral ActivityPub server...",