Commit Graph

27 Commits

Author SHA1 Message Date
Alex Dadgar
46ab2d69b1 handle errors when streaming logs 2017-09-19 10:37:49 -05:00
Alex Dadgar
c85e8aa02f Merge pull request #3127 from hashicorp/b-tls-api
Fix TLSServerName for Node API Client
2017-08-29 16:10:58 -07:00
Alex Dadgar
5d65af523d Check for errors initializing client for autocomplete 2017-08-29 14:29:32 -07:00
Alex Dadgar
b86e05b4a0 use helper 2017-08-29 10:04:02 -07:00
Alex Dadgar
0852c0ab3a status commands handle uuid prefixes with hyphens 2017-08-29 09:43:28 -07:00
Alex Dadgar
ce3c316592 don't limit on one arg 2017-08-28 13:40:04 -07:00
Alex Dadgar
85a1899dfa Reduce startup time on Mac
This PR moves creating the API client into the returned predict
function. The creation of the client causes a lookup of all the system
certificates and doing that for each command on mac was extremely slow.
2017-08-28 11:29:27 -07:00
Alex Dadgar
4d97b302a0 Search respects QueryOptions and returns QueryMeta
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Chelsea Holland Komlo
e88228cc5d add global flags to autocomplete 2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
335cf888b0 use PredictAnything when an flag accepts an argument 2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
c1e5c7132a enable autocompletion of flags 2017-08-23 22:57:07 +00:00
Alex Dadgar
920e0d7f87 logs and fs 2017-08-22 13:11:32 -07:00
Alex Dadgar
3cd8d50bbc Multiple matched objects now treated as an error condition. 2017-07-20 17:31:07 -07:00
Alex Dadgar
c5b1e2dcc1 alloc-list shows version 2017-07-07 12:12:48 -07:00
Diptanu Choudhury
f551dcb83e Making the job spec return api.Job 2017-02-16 13:52:39 -08:00
Cameron Stokes
ca33d0e5cc Errant colon in logs usage. 2016-12-24 17:12:16 -08:00
Cameron Stokes
48e99e01f1 Fix inconsistencies in usage cli output. 2016-12-24 12:39:33 -08:00
Alex Dadgar
fdaf530813 api.fs uses the api.Client rather than making raw requests 2016-07-28 14:27:17 -07:00
Alex Dadgar
5ae28927aa logs command docs 2016-07-25 13:08:39 -07:00
Alex Dadgar
2a32e839ac Add logs command test 2016-07-25 11:16:54 -07:00
Alex Dadgar
b65fd2624e Support non-following logs 2016-07-25 11:16:54 -07:00
Alex Dadgar
fff91cf8f0 Look up the tasks automatically 2016-07-25 11:16:54 -07:00
Alex Dadgar
efc4700d42 fix indents 2016-07-25 11:16:54 -07:00
Alex Dadgar
8cb4f76a65 remove file events and last offset 2016-07-25 11:16:01 -07:00
Alex Dadgar
ac1cfd1821 unblock the readers to add liveness when using -n 2016-07-25 11:16:01 -07:00
Alex Dadgar
4cf65d7944 Read from correct offset 2016-07-25 11:16:01 -07:00
Alex Dadgar
2530f7bd40 initial api and command 2016-07-25 11:16:01 -07:00