11 releases (4 breaking)

0.5.0 Jun 15, 2024
0.4.1 Jun 9, 2024
0.3.5 Jun 6, 2024
0.2.1 May 16, 2024
0.1.0 Apr 13, 2024

#2540 in Command line utilities

Download history 1/week @ 2024-05-26 861/week @ 2024-06-02 402/week @ 2024-06-09 47/week @ 2024-06-16 1/week @ 2024-06-23 5/week @ 2024-06-30 129/week @ 2024-07-28

789 downloads per month

MIT license

54KB
1.5K SLoC

AGScheduler-Cli

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

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]
  -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

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

~14–27MB
~407K SLoC