Refactor the compose build command flagging process#1791
Conversation
e396e1e to
a9b2bcc
Compare
a9b2bcc to
32ec97f
Compare
After merge pr #1793, Should we refactor to first? Composer subcommand use this func many times, and maybe we refactor them one more time if not refactor it firstly. |
Nice catch, SGTM, I will make a PR tonight. |
Meanwhile, for nerdctl/cmd/nerdctl/compose.go Line 83 in 3e0fa4f It can be splitted into 2 sub functions:
|
SGTM, I will finish this. |
68d738b to
0580074
Compare
Signed-off-by: Laitron <meetlq@outlook.com>
Signed-off-by: Laitron <meetlq@outlook.com>
0580074 to
e66e8bd
Compare
There is no ideal about GlobalFlag(like namespace, address). I just refactor the compose build command.
Signed-off-by: Laitron meetlq@outlook.com