Skip to content

⚡️CLI for interacting with various Leisure Travel Vans APIs.

Notifications You must be signed in to change notification settings

tripleerv/ltv-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ltv-cli

A CLI for interacting with the Leisure Travel Vans API.

Install

npm install -g ltv-cli

Usage

λ 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

Auth

$ ltv auth

You will need to run ltv auth before running any other commands. Use your LTV Dealer Dashboard login to authenticate.

Dealer Commands

Find All Dealers

$ ltv dealer find

Find a Single Dealer

$ ltv dealer find -d 13201

Order Commands

Find All Orders By Dealer

$ ltv order find -d 13201

Find a Single Order

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

Invite a User to MyLTV

$ 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.

About

⚡️CLI for interacting with various Leisure Travel Vans APIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published