Skip to content

CLI needs to expose functionality to create a list #7

@jlewi

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 == "" {

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