Skip to content

feat: expose prepare-upload-photo and prepare-upload-banner in CLI (#590)#600

Merged
sigvardt merged 1 commit intomainfrom
ai/issue-590-feature-expose-prepare-upload-photo-and-prepare-up
Mar 21, 2026
Merged

feat: expose prepare-upload-photo and prepare-upload-banner in CLI (#590)#600
sigvardt merged 1 commit intomainfrom
ai/issue-590-feature-expose-prepare-upload-photo-and-prepare-up

Conversation

@sigvardt
Copy link
Owner

Summary

Exposes prepare-upload-photo and prepare-upload-banner as standalone commands under the linkedin profile namespace.

This allows users to upload their own existing images from their local machine via the CLI without needing an OpenAI key, as they bypass the generate-profile-images asset generation pipeline.

Changes

  • Add runProfilePrepareUploadPhoto and runProfilePrepareUploadBanner implementations in packages/cli/src/bin/linkedin.ts.
  • Register .command("prepare-upload-photo") and .command("prepare-upload-banner") under profileCommand.
  • Add unit tests for both CLI commands in packages/cli/test/profileCli.test.ts.

Closes #590

@sigvardt sigvardt enabled auto-merge (squash) March 21, 2026 18:16
@sigvardt sigvardt merged commit 0a4c739 into main Mar 21, 2026
4 checks passed
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.

Feature: Expose prepare-upload-photo and prepare-upload-banner in CLI

1 participant