feat(cli): implement social post command and persist iterate goals#162
Open
emil07770 wants to merge 1 commit into
Open
feat(cli): implement social post command and persist iterate goals#162emil07770 wants to merge 1 commit into
emil07770 wants to merge 1 commit into
Conversation
- promote social post: replace stub with real adapter fan-out; loads each social-<name> package, calls connect() then post(); dry-run shows per-platform preview with truncation; skips platforms not installed or not configured with a helpful hint (closes profullstack#151) - iterate goals: replace stub with persistent read/write backed by ~/.config/sh1pt/iterate-goals.json; supports listing, setting key=value pairs, --unset <key>, --clear, and --json output (closes profullstack#152)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #151
Closes #152
Changes
sh1pt promote social post(#151)Replaces the
[stub]action with a real adapter fan-out:SocialPostfrom--body,--title,--hashtags,--media,--link,--schedule--platformselects a subset; defaults to all platforms inSOCIAL_PLATFORMS--dry-runprints a per-platform preview (body length, hashtags, link) without connecting@profullstack/sh1pt-social-<name>vialoadInstalledPackage, reads saved adapter config viagetAdapterConfig, callsconnect()thenpost()inferMediaKindhelper that infersimage/video/giffrom file extensionsh1pt iterate goals(#152)Replaces the
[stub]with full persistence backed by~/.config/sh1pt/iterate-goals.json:key=valueargs: set one or more goals and save--unset <key>: remove a single goal--clear: wipe all goals--json: machine-readable output when listing.tmp+ rename pattern, matchingconfig-store.ts