@distro-media/cli
v0.1.2
Published
DistroVerse CLI — manage newslodes from your terminal
Maintainers
Readme
@distro-media/cli
The DistroVerse CLI — manage newslodes from your terminal.
npx @distro-media/cliOr install globally:
npm install -g @distro-media/cliCommands
distro login
Authenticate with DistroVerse. Opens your browser for OAuth login, then lets you select which publications to scope your API key to.
distro logindistro publish
Publish content to a newslode.
# Interactive mode
distro publish
# With flags
distro publish --title "Breaking News" --content "Story content here" --source "Reuters"
# Pipe content from stdin
echo "My story content" | distro publish --title "Piped Story"
cat article.md | distro publish --title "From File"Options:
--title, -t— Story title--content, -c— Story content--link, -l— Source URL--source, -s— Source name--author, -a— Author name
distro whoami
Show your current authentication status — user, email, environment, and key info.
distro whoamidistro logout
Remove stored credentials.
distro logoutConfiguration
Credentials are stored in ~/.config/distro/credentials.json (permissions 0600).
Environment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| DISTRO_API_URL | API URL | https://app.distro.media |
Requirements
- Node.js 18+
- A DistroVerse account at app.distro.media
License
Apache-2.0 — Distributed Media Technologies Corp.
