summaryrefslogtreecommitdiffstats
path: root/main.go
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Use go module as dependency tool instead of glidehalibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/7.99.3halibut/7.99.2halibut/7.99.17.99.37.99.27.99.1Sebastien Douheret1-1/+1
Bug-AGL: SPEC-2289 Change-Id: I7486876f0fd50e776280dfeb983f6b47200a7c29 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-01-04Add cli-config.env file supporthalibut_7.90.0halibut/7.90.07.90.0Sebastien Douheret1-15/+30
XDS environment configuration can be set using various methods. Here is the list of various methods, ordered by priority: 1/ from command line option: "--config myConfig.json" 2/ from environment variable XDS_CONFIG 3/ $HOME/.xds/cli/cli-config.env file 4/ /etc/xds/cli/cli-config.env file Change-Id: I1b59c05e583336fe05459de91a35d47cf5ddf670 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-23Disable completion (not working well)guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.16.99.46.99.36.99.26.99.1Sebastien Douheret1-2/+4
Disable completion for now, because it's not working with options (eg. --label) and prevents to complete local path IOW current function only completes command and sub-commands that may be usefull but less important than completing a path. Change-Id: Ib5fe4f8492367d383bbe92351ec8c69a65b4ea4c Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Added default CTRL+C signal handler.Sebastien Douheret1-0/+15
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Fixed terminal output (support escape and control characters)Sebastien Douheret1-13/+14
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-06Added bash completion support.Sebastien Douheret1-0/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added target and terminal supportv1.1.0Sebastien Douheret1-0/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added logfile supportSebastien Douheret1-2/+19
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-24Fixed crach when no XDS Server connected.Sebastien Douheret1-0/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret1-4/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-12Adapt early logging level of HTTP client.Sebastien Douheret1-1/+6
2017-12-07Improved reported error on invalid XDS_AGENT_URLSebastien Douheret1-3/+10
Specifically when AGENT_URL is set to SERVER_URL and consequently connection failed with "Failed to get device ID" error.
2017-12-07Support ~ or $VAR for --config option valueSebastien Douheret1-1/+6
2017-12-07Display early log when exiting earlier.Sebastien Douheret1-6/+19
2017-12-05Only update Server URL when it's necessary.v0.1.1Sebastien Douheret1-2/+4
2017-12-05Support --config option either before or after command verb.Sebastien Douheret1-0/+13
2017-12-04Update connection options: --url/XDS_AGENT_URL and --url-server/XDS_SERVER_URL.Sebastien Douheret1-15/+49
--url option (or XDS_AGENT_URL env var) must be used to setup connection with XDS agent running locally on developer host. --url-server (XDS_SERVER_URL env var) may be set to overwrite default connection settings with XDS server.
2017-11-30Added Copyright headers.v0.1.0Sebastien Douheret1-2/+21
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Add -u short option for --url and support port number only.Sebastien Douheret1-3/+10
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Used new agent lib name xaapiv1 and fix env setup.Sebastien Douheret1-2/+0
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-24Fixed config file option or env var detection.Sebastien Douheret1-19/+36
2017-11-08Display help when no arg is set.Sebastien Douheret1-1/+5
2017-11-06Improved help/description .Sebastien Douheret1-10/+27
2017-11-06Fixed env vars setting from config file.Sebastien Douheret1-1/+25
2017-11-06Initial commitv0.0.1Sebastien Douheret1-0/+263
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>