11 个版本 (4 个破坏性更新)

0.5.0 2024年6月15日
0.4.1 2024年6月9日
0.3.5 2024年6月6日
0.2.1 2024年5月16日
0.1.0 2024年4月13日

2491命令行工具 中排名

Download history 275/week @ 2024-04-13 8/week @ 2024-04-20 134/week @ 2024-05-11 26/week @ 2024-05-18 3/week @ 2024-05-25 804/week @ 2024-06-01 291/week @ 2024-06-08 214/week @ 2024-06-15 2/week @ 2024-06-22 1/week @ 2024-06-29 4/week @ 2024-07-06 129/week @ 2024-07-27

每月下载 133

MIT 许可证

54KB
1.5K SLoC

AGScheduler-Cli

test publish codecov Crates.io GitHub release (with filter) license

AGScheduler 的命令行界面

安装

cargo install agscheduler-cli

使用方法

$ agscheduler-cli -h
Command line interface for AGScheduler

Usage: agscheduler-cli [OPTIONS]

Options:
  -e, --endpoint <ENDPOINT>  AGScheduler HTTP endpoint [default: http://127.0.0.1:36370]
  -p, --password <PASSWORD>  AGScheduler password
                             You can also use the AGSCHEDULERCLI_AUTH environment variable to pass this password more safely [default: ]
  -h, --help                 Print help
  -V, --version              Print version


$ agscheduler-cli
Connecting to `http://127.0.0.1:36370`...
? Select your operation › [Page 1/3]
  Add Job
  Get Job
 Get All Jobs
  Update Job
  Delete Job
  Delete All Jobs
  Pause Job
  Resume Job

 Select your operation · Get All Jobs
+------------------+-------+----------+-----------+---------------------+---------------------+---------+
| ID               | Name  | Type     | TypeValue | LastRunTime         | NextRunTime         | Status  |
+=======================================================================================================+
| 8088b567cc3a4345 | myJob | interval | 60s       | 2024-02-18 00:17:28 | 2024-02-18 00:18:28 | running |
+------------------+-------+----------+-----------+---------------------+---------------------+---------+
Total 1

开发

# Clone code
git clone [email protected]:agscheduler/agscheduler-cli.git

# Working directory
cd agscheduler-cli

# Install dependencies
make install

# Run check
make check-all

依赖项

~14–26MB
~401K SLoC