@blankdotpage/cli
v0.1.4
Published
CLI for Blank Page
Readme
@blankdotpage/cli
Simple command-line interface for Blank Page.
Install
npm i -g @blankdotpage/cliThis installs both command aliases:
blankpagebp
Default endpoint
By default, CLI commands target:
https://blank.page
Commands
blankpage login [--app-url <url>] [--no-browser]
blankpage logout [--app-url <url>]
blankpage whoami
blankpage list
blankpage create <file.md>
blankpage view <page-id-or-title>
blankpage update <page-id-or-title> <file.md>
blankpage delete <page-id-or-title>
blankpage share <file.md> [--title "..."]
blankpage share --page-id <page-id-or-title> [--title "..."]
blankpage unshare <link-id-or-url>Commands that accept page ids also accept page titles when the title is unique.
