Config
A CLI tool for Claude Code or Claudian to uploading Obsidian Markdown documents to Feishu cloud documents.
npx -y skills add SuShuheng/obshare-cli --skill configAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when configuring obshare-cli credentials, checking saved settings, testing connectivity, clearing local config, or setting optional Obsidian bridge values used by the V0.2.0 direct-share stack.
SKILL.md
2.1 KB, as published. Nobody here has run it
obshare-cli config
Manage saved configuration for Feishu uploads and optional Obsidian bridge integration. These settings are consumed by both the CLI and the Obsidian companion plugin's direct-share flow in V0.2.0.
Quick Reference
| Command | Purpose |
|---|---|
set-app-id <app_id> | Save Feishu App ID |
set-app-secret <app_secret> | Save Feishu App Secret |
set-user-id <user_id> | Save Feishu user ID |
set-folder <folder_token> | Save target folder token |
set-obsidian-cli <command> | Save Obsidian CLI command name/path |
set-obsidian-bridge-dir <dir> | Save shared bridge directory |
set-obsidian-command-id <id> | Save Obsidian render command ID |
show | Show current config with sensitive values masked |
test | Test Feishu connectivity |
clear | Remove saved local config |
Common Usage
# Required Feishu settings
conda run -n obsd obshare-cli config set-app-id "cli_xxx"
conda run -n obsd obshare-cli config set-app-secret "xxx"
conda run -n obsd obshare-cli config set-user-id "ou_xxx"
conda run -n obsd obshare-cli config set-folder "fldcnxxx"
# Optional Obsidian bridge settings for Mermaid rendering
conda run -n obsd obshare-cli config set-obsidian-cli obsidian
conda run -n obsd obshare-cli config set-obsidian-bridge-dir /path/to/shared/bridge
conda run -n obsd obshare-cli config set-obsidian-command-id obshare-cli:process-render-request
# Inspect and test
conda run -n obsd obshare-cli config show
conda run -n obsd obshare-cli --json config show
conda run -n obsd obshare-cli config test
Notes
- Uploads require
app_id,app_secret,user_id, andfolder_token. - Config is stored in
~/.obshare/config.json. - Sensitive fields are stored encrypted when cryptography support is available.
--jsonis a global option: place it before the subcommand, not aftershowortest.