Skip to content

feat: footers commands and related stuff (loops-go v0.10.0, openapi spec 1.24.0) - #127

Merged
notnmeyer merged 6 commits into
mainfrom
feat/footers
Nov 23, 2026
Merged

notnmeyer merged 6 commits into
mainfrom
feat/footers

Conversation

@notnmeyer

@notnmeyer notnmeyer commented Nov 23, 2026 •

Copy link
Copy Markdown
Member
  • updates to loops-go v0.10.0 for openapi 1.24.0
  • adds footers commands (list, get, create, update, delete, set-default)
  • adds footers variant commands (get, update, publish). these take the footer id only since a footer has one variant today, and error if a footer ever has more than one
  • adds --footer-id and --default-footer flags to email-messages update
  • surfaces footerId in email-messages get output
  • footers set-default --existing-emails all asks for confirmation. skip with --yes, which is required with -o json or when stdin isnt a terminal
➜ loops footers -h

  Manage footers

  USAGE

    loops footers [command] [--flags]

  COMMANDS

    create [--flags]            Create a footer
    delete <id>                 Delete a footer
    get <id>                    Get a footer
    list [--flags]              List footers
    set-default <id> [--flags]  Make a published footer the default footer
    update <id> [--flags]       Update the name or placement of a footer
    variant [command]           Manage the content of a footer

  FLAGS

    --debug                     Print API request details before sending
    -h --help                   Help for footers
    -o --output                 Output format (text, json) (text)
    -t --team                   Team key name to use
➜ loops footers variant -h

  Manage the content of a footer

  USAGE

    loops footers variant [command] [--flags]

  COMMANDS

    get <footer-id>                Get the draft and published content of a footer
    publish <footer-id> [--flags]  Publish the draft content of a footer
    update <footer-id> [--flags]   Update the draft content of a footer

  FLAGS

    --debug                        Print API request details before sending
    -h --help                      Help for variant
    -o --output                    Output format (text, json) (text)
    -t --team                      Team key name to use

@notnmeyer notnmeyer self-assigned this Nov 23, 2026
@notnmeyer
notnmeyer requested a review from nalanj November 23, 2026 19:11
Comment thread cmd/footers.go Resolved
Comment thread cmd/footers.go Resolved
@notnmeyer
notnmeyer requested a review from nalanj November 23, 2026 20:02
@notnmeyer
notnmeyer merged commit 437d7f9 into main Nov 23, 2026
2 checks passed
@notnmeyer
notnmeyer deleted the feat/footers branch November 23, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants