ezbookkeeping

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ezBookkeeping API Tools

ezBookkeeping API Tools

Usage

使用方法

List all supported commands

列出所有支持的命令

Linux / macOS
bash
sh scripts/ebktools.sh list
Windows
powershell
scripts\ebktools.ps1 list
Linux / macOS
bash
sh scripts/ebktools.sh list
Windows
powershell
scripts\ebktools.ps1 list

Show help for a specific command

查看特定命令的帮助信息

Linux / macOS
bash
sh scripts/ebktools.sh help <command>
Windows
powershell
scripts\ebktools.ps1 help <command>
Linux / macOS
bash
sh scripts/ebktools.sh help <command>
Windows
powershell
scripts\ebktools.ps1 help <command>

Call API

调用API

Linux / macOS
bash
sh scripts/ebktools.sh [global-options] <command> [command-options]
Windows
powershell
scripts\ebktools.ps1 [global-options] <command> [command-options]
Linux / macOS
bash
sh scripts/ebktools.sh [global-options] <command> [command-options]
Windows
powershell
scripts\ebktools.ps1 [global-options] <command> [command-options]

Troubleshooting

故障排除

If the script reports that the environment variable
EBKTOOL_SERVER_BASEURL
or
EBKTOOL_TOKEN
is not set, user can define them as system environment variables, or create a
.env
file in the user home directory that contains these two variables and place it there.
The meanings of these environment variables are as follows:
VariableRequiredDescription
EBKTOOL_SERVER_BASEURL
RequiredezBookkeeping server base URL (e.g.,
http://localhost:8080
)
EBKTOOL_TOKEN
RequiredezBookkeeping API token
如果脚本提示未设置环境变量
EBKTOOL_SERVER_BASEURL
EBKTOOL_TOKEN
,用户可以将它们定义为系统环境变量,或者在用户主目录中创建一个包含这两个变量的
.env
文件并放置在该目录下。
这些环境变量的含义如下:
变量是否必填描述
EBKTOOL_SERVER_BASEURL
必填ezBookkeeping服务器基础URL(例如:
http://localhost:8080
EBKTOOL_TOKEN
必填ezBookkeeping API令牌

Reference

参考资料