Skip to content

Commit

Permalink
feat: removed bogus force
Browse files Browse the repository at this point in the history
  • Loading branch information
demeyerthom committed Mar 19, 2024
1 parent 3c0e8c3 commit 0ed0e39
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/src/reference/cli/mach-composer_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ mach-composer init [flags]

```
-f, --file string YAML file to parse. (default "main.yml")
--force Force the apply to run even if the components are considered up to date
-h, --help help for init
--ignore-version Skip MACH composer version check
--output-path string Outputs path to store the generated files. (default "deployments")
Expand Down
5 changes: 0 additions & 5 deletions internal/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ import (
"github.com/mach-composer/mach-composer-cli/internal/runner"
)

var initFlags struct {
force bool
}

var initCmd = &cobra.Command{
Use: "init",
Short: "Initialize site directories Terraform files.",
Expand All @@ -32,7 +28,6 @@ var initCmd = &cobra.Command{

func init() {
registerCommonFlags(initCmd)
initCmd.Flags().BoolVarP(&initFlags.force, "force", "", false, "Force the apply to run even if the components are considered up to date")
}

func initFunc(cmd *cobra.Command, _ []string) error {
Expand Down

0 comments on commit 0ed0e39

Please sign in to comment.