-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add --format for commands to output json (#1323)
* feat: add --format for commands to output json - verson - context ls - image ls - image describe - env ls - env describe Signed-off-by: cutecutecat <starkind1997@gmail.com> * move json format into package Signed-off-by: cutecutecat <starkind1997@gmail.com> * refactor default table formatter into pkg/app/formatter/table Signed-off-by: cutecutecat <starkind1997@gmail.com> * fix Json spelling into JSON Signed-off-by: cutecutecat <starkind1997@gmail.com> * fix lint Signed-off-by: cutecutecat <starkind1997@gmail.com> * fix more lint Signed-off-by: cutecutecat <12032261@mail.sustech.edu.cn> Signed-off-by: cutecutecat <starkind1997@gmail.com> Signed-off-by: cutecutecat <12032261@mail.sustech.edu.cn>
- Loading branch information
cutecutecat
committed
Dec 27, 2022
1 parent
296680c
commit 571abfe
Showing
16 changed files
with
820 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.