Skip to content

JSON list values, --url search, --term in examples (1.0.18) - #5

Merged
vprudnikoff merged 1 commit into
mainfrom
fix/list-flag-commas
Nov 4, 2026
Merged

vprudnikoff merged 1 commit into
mainfrom
fix/list-flag-commas

Conversation

@vprudnikoff

Copy link
Copy Markdown
Member

Goes with linkedin-cli 1.2.24 (linkedin-cli#10); merge only after 1.2.24 is on npm.

  • List Flags (linkedin) and an import note (linkedin-growth): a value that contains a comma (Chicago, Illinois, Example Co., Ltd.) has to be passed as a JSON array, or it is silently split into separate filters. Both name the minimum CLI version, because an older CLI would split the JSON string itself.
  • Searches need a term or a URL. Core rejects people and company searches without either: 184 such 400s in 35 days. Three filter-only examples now carry --term. The four search tables document --url and "required unless --url". The profile-viewers section points at person search --url with the version note. linkedin-growth no longer says filter flags alone are enough.
  • Version 1.0.18.

linkedin-cli 1.2.24 reads a list flag that starts with `[` as a JSON
array, so values containing a comma ("Chicago, Illinois", "Example Co.,
Ltd.") are no longer split into separate filters. The linkedin skill
gains a List Flags section and linkedin-growth a note in its import
section, both naming the minimum CLI version.

Core rejects people and company searches that carry neither a term nor
a custom search URL, yet three examples were filter-only, and the viewer
section pointed at a person search --url flag the CLI did not have yet.
The examples now carry --term, the four search tables document --url,
and linkedin-growth no longer says filter flags alone are enough.
@vprudnikoff
vprudnikoff merged commit 1469f41 into main Nov 4, 2026
2 checks passed
@vprudnikoff
vprudnikoff deleted the fix/list-flag-commas branch November 4, 2026 11:58
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.

1 participant