Skip to content

CLI needs to expose functionality to create a list #7

Description

@jlewi

We currently don't expose the functionality to create a new list in the CLI.
This is needed to establish new feeds.

There's code to create a list here

func CreateListRecord(client *xrpc.Client, name string, description string) (*comatproto.RepoCreateRecord_Output, error) {

But its not exposed in the CLI.
I think the way to expose it would be to update the apply function to check if the list exists and if not create it

if list.DID == "" {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions