2 unstable releases
0.2.0 | Apr 16, 2024 |
---|---|
0.1.0 | Apr 13, 2024 |
#2255 in Command line utilities
283 downloads per month
36KB
876 lines
agscheduler-cli
Command line interface for AGScheduler
Installation
cargo install agscheduler-cli
Usage
$ 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]
-h, --help Print help
-V, --version Print version
$ agscheduler-cli
Connecting to `http://127.0.0.1:36370`...
? Select your operation › [Page 1/3]
Get Info
Get Funcs
Get Job
❯ Get All Jobs
✔ Select your operation · Get All Jobs
+------------------+-------+----------+---------------------+---------------------+---------+
| ID | Name | Type | LastRunTime | NextRunTime | Status |
+===========================================================================================+
| 8088b567cc3a4345 | myJob | interval | 2024-02-18 00:17:28 | 2024-02-18 00:18:28 | running |
+------------------+-------+----------+---------------------+---------------------+---------+
Development
# Clone code
git clone git@github.com:agscheduler/agscheduler-cli.git
# Working directory
cd agscheduler-cli
# Install dependencies
make install
# Run check
make check-all
Dependencies
~15–28MB
~440K SLoC