cubox-cli

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 4 Imported by: 0

README

cubox-cli

Go

cubox 命令行工具,支持添加 Link 和 Memo。

📥 安装

# 支持在不同平台运行
curl -sf https://gobinaries.com/jiyee/cubox-cli | sh

macOS 系统请下载使用 cubox-cli-darwin-amd64.gz

👉 使用

添加一条新的 Memo
$ cubox-cli new --api <CUSTOM_API> "a new memo from cubox-cli"
添加一条带标签的 Memo
$ cubox-cli new --api <CUSTOM_API> --tag "cubox-cli" "a new memo from cubox-cli"
添加一条带多个标签的 Memo
$ cubox-cli new --api <CUSTOM_API> --tag "cubox-cli" --tag "jiyee" "a new memo from cubox-cli"
将文本文件添加到 Memo
$ cat memo.txt | cubox-cli new --api <CUSTOM_API> --tag "cubox-cli"
使用环境变量来指定 API
$ export CUBOX_API=<CUSTOM_API>
$ cubox-cli new --tag "cubox-cli" "a new memo from cubox-cli"

LICENCE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL