Skip to content

[wip] CLI for viewing information about drone builds

Notifications You must be signed in to change notification settings

afischer/drone-uav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone UAV

A CLI for viewing drone build status.

Usage

$ uav -h
Usage: uav [options] [org[/repo]] [build number]

Options:
  -V, --version  output the version number
  -d, --dev      developer mode - use mocked data
  -h, --help     output usage information

For example:

$ uav acmeCorp/website 70065
⦿ [running] Build 70065 by jsmith updated to latest version of node
  ● clone 00:01
  ⦿ fetch_deps 02:22
  ○ install
  ○ lint
  ○ test
  ○ build
  ○ deploy

Installation

Currently not published on npm! Clone, cd into the repo, and run npm link. Requires node >= 10.

A ~/.drone_uav.json file will be created on first run. You can edit this file if your drone information changes, or if you would like to change the API poll frequency.

Todo

  • handle non-200 results
  • clean up async code
  • use streaming json for repos request? It's pretty big.

About

[wip] CLI for viewing information about drone builds

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published