diff options
| author | Paul Buetow <paul@buetow.org> | 2024-11-13 22:53:18 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-11-13 22:53:18 +0200 |
| commit | 905e733a3aec46ff89358b49456da78199a8ed7d (patch) | |
| tree | be75275d0b307cb1d1b6e3b5e05e5f09c4d1d186 /internal/platforms/linkedin | |
| parent | e0796a8f38c512ca1fb1f71aa455aebe1bf88f3a (diff) | |
some
Diffstat (limited to 'internal/platforms/linkedin')
| -rw-r--r-- | internal/platforms/linkedin/linkedin.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/platforms/linkedin/linkedin.go b/internal/platforms/linkedin/linkedin.go index 7db0e0d..9ca929b 100644 --- a/internal/platforms/linkedin/linkedin.go +++ b/internal/platforms/linkedin/linkedin.go @@ -57,6 +57,8 @@ func post(ctx context.Context, args config.Args, sizeLimit int, en entry.Entry) return err } + // TODO: Refactor this. Make it so that in a loop we can also check for the content with limit. + // Maybe pass an interface en.ContentWithLimit and en.Path() to prompt.FileAction question := fmt.Sprintf("Do you want to post this message to Linkedin (%v)?", prev) if content, err = prompt.FileAction(question, content, en.Path); err != nil { return err |
