@andypai/up
v0.3.0
Published
Upload local files to Up and get back public share links
Readme
@andypai/up
CLI for uploading local files to Up and getting back public share links.
Install
npm install -g @andypai/up
up --versionUsage
up ./file.pdf
up --collection ./a.png ./b.png
up --json ./file.pdf
up setupConfig
Persistent defaults live in ~/.up/config.toml.
The easiest way to create them is:
up setupFor headless terminals, CI, or dotfile automation, add --yes to write the
config without prompting:
up setup --token "$UP_TOKEN" --yes
up setup --api https://up.example.com --app https://up.example.com --token "$UP_TOKEN" --no-open --mode single --yesWithout --yes, the same flags prefill the interactive prompts so you can
confirm or tweak each value.
For local authenticated uploads, create an API token in the Up dashboard and
paste it into up setup.
For CI or scripts, prefer:
export UP_TOKEN=up_your_token
up --json ./artifact.zip