A CLI for interacting with the Leisure Travel Vans API.
npm install -g ltv-cli
λ ltv help
_ _____ __ __ ____ _ ___
| | |_ _| \ \ / / / ___| | | |_ _|
| | | | \ \ / / | | | | | |
| |___ | | \ V / | |___ | |___ | |
|_____| |_| \_/ \____| |_____| |___|
$ ltv [command] <options>
USAGE
$ ltv auth authenticate
$ ltv dealer find dealers
$ ltv orders find orders
$ ltv version show package version
$ ltv help show this help menu
$ ltv auth
You will need to run ltv auth
before running any other commands. Use your LTV Dealer Dashboard login to authenticate.
$ ltv dealer find
$ ltv dealer find -d 13201
$ ltv order find -d 13201
To find by name:
The --dealer
/ -d
argument is required to search by customer name.
$ ltv order find -d 13201 -n smith
To find by coach ID / run #:
$ ltv order find -c 28255
To find by chassis VIN:
$ ltv order find -V WDAPF4CC8H9743879
To find by order ID:
$ ltv order find -o 25461
$ ltv order invite -o 23524 -e [email protected] -n Joe Smith
This command will find the order with that ID and send an invite by email to the provided email address.