mirror of
https://github.com/containers/podman.git
synced 2025-10-16 02:32:55 +08:00
Merge pull request #2336 from baude/addbuildtomain
add build to main and as subcommand to image
This commit is contained in:
@ -10,7 +10,6 @@ import (
|
||||
func getMainCommands() []*cobra.Command {
|
||||
rootCommands := []*cobra.Command{
|
||||
_attachCommand,
|
||||
_buildCommand,
|
||||
_commitCommand,
|
||||
_createCommand,
|
||||
_diffCommand,
|
||||
@ -54,7 +53,6 @@ func getMainCommands() []*cobra.Command {
|
||||
// Commands that the local client implements
|
||||
func getImageSubCommands() []*cobra.Command {
|
||||
return []*cobra.Command{
|
||||
_buildCommand,
|
||||
_loadCommand,
|
||||
_saveCommand,
|
||||
_signCommand,
|
||||
|
@ -18,6 +18,7 @@ var (
|
||||
|
||||
//imageSubCommands are implemented both in local and remote clients
|
||||
var imageSubCommands = []*cobra.Command{
|
||||
_buildCommand,
|
||||
_historyCommand,
|
||||
_imageExistsCommand,
|
||||
_imagesCommand,
|
||||
|
@ -30,6 +30,7 @@ var (
|
||||
// Commands that the remote and local client have
|
||||
// implemented.
|
||||
var mainCommands = []*cobra.Command{
|
||||
_buildCommand,
|
||||
_exportCommand,
|
||||
_historyCommand,
|
||||
_imagesCommand,
|
||||
|
Reference in New Issue
Block a user