pushdash
v0.1.13
Published
CLI tool to push files directly from terminal to PushDash cloud dashboard
Readme
PushDash CLI
CLI tool to push files directly from your terminal to PushDash cloud dashboard.
Installation
npm install -g pushdashOr use with npx:
npx pushdash <command>Usage
Authentication
Before uploading files, you need to authenticate:
pushdash loginThis will open your browser for authentication. Once authenticated, your credentials will be stored locally in ~/.pushdash/config.json.
To log out:
pushdash logoutUpload Files
Upload a file to PushDash:
pushdash push <file>Options:
--tag <tag>- Add a tag to the file (optional)--msg <message>- Add a message/description to the file (optional)--public- Make the file publicly accessible (default: private)
Examples:
# Simple upload
pushdash push myfile.pdf
# Upload with tag
pushdash push myfile.pdf --tag work
# Upload with tag and message
pushdash push myfile.pdf --tag work --msg "Q4 report"
# Upload as public file
pushdash push myfile.pdf --public
# Upload with all options
pushdash push myfile.pdf --tag work --msg "Q4 report" --publicUser Information
Check who you're currently logged in as:
pushdash whoamiHelp
Get help on available commands:
pushdash --helpGet help on a specific command:
pushdash push --helpConfiguration
Configuration is stored in ~/.pushdash/config.json. This file contains your authentication token and user information.
Supported File Types
- Text files (.txt, .md, .json, etc.)
- PDFs (.pdf)
- Images (.png, .jpg, .jpeg, .gif, .webp)
- Code files (.js, .ts, .py, etc.)
Development
Build
pnpm buildDevelopment Mode
pnpm devType Checking
pnpm typecheckLicense
MIT
