This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git.
from 6562efe Merge pull request #6 from kezhenxu94/feature/graphql-client
new 1ccb9b9 Extract commonly-used flags for reuse
new 79165a6 Abstract display layer and support json/yaml/table display
styles
new f3ce003 Fix golang lint warnings
new d2bac71 Merge pull request #9 from kezhenxu94/feature/display-styles
The 29 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
commands/{service/service.go => flags/duration.go} | 30 +++++++++---
commands/service/list.go | 34 ++------------
.../interceptor.go => display/display.go | 35 ++++++++++----
config/config.go => display/json/json.go | 17 +++++--
logger/log.go => display/table/table.go | 41 ++++++++++++-----
.../service/service.go => display/yaml/yaml.go | 20 ++++----
go.mod | 1 +
go.sum | 6 +++
graphql/client/client.go | 9 ++--
swctl/main.go | 53 ++++++++++++++--------
10 files changed, 153 insertions(+), 93 deletions(-)
copy commands/{service/service.go => flags/duration.go} (57%)
copy commands/interceptor/interceptor.go => display/display.go (55%)
rename config/config.go => display/json/json.go (79%)
copy logger/log.go => display/table/table.go (58%)
copy commands/service/service.go => display/yaml/yaml.go (80%)