Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions cmd/cli/cmd/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,4 @@ func init() {
// Define the path of the experiment file to run
cleanCmd.Flags().StringSliceP("file", "f", []string{}, "Experiment file(s) to run")
cleanCmd.MarkFlagRequired("file")

// Define the namespace(s) to run the experiment in
cleanCmd.Flags().StringP("namespace", "n", "", "Namespace to run experiment in")
cleanCmd.Flags().BoolP("all", "a", false, "Run experiment in all namespaces")
cleanCmd.MarkFlagsMutuallyExclusive("namespace", "all")
}
4 changes: 2 additions & 2 deletions cmd/cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "secops-chaos",
Short: "tbd",
Long: "tbd",
Short: "",
Long: "",
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand Down
5 changes: 0 additions & 5 deletions cmd/cli/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,4 @@ func init() {
// Define the path of the experiment file to run
runCmd.Flags().StringSliceP("file", "f", []string{}, "Experiment file(s) to run")
runCmd.MarkFlagRequired("file")

// Define the namespace(s) to run the experiment in
runCmd.Flags().StringP("namespace", "n", "", "Namespace to run experiment in")
runCmd.Flags().BoolP("all", "a", false, "Run experiment in all namespaces")
runCmd.MarkFlagsMutuallyExclusive("namespace", "all")
}
5 changes: 0 additions & 5 deletions cmd/cli/cmd/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,4 @@ func init() {

// Output the results in JSON format
verifyCmd.Flags().BoolP("json", "j", false, "Output results in JSON format")

// Define the namespace(s) to run the experiment in
verifyCmd.Flags().StringP("namespace", "n", "", "Namespace to run experiment in")
verifyCmd.Flags().BoolP("all", "a", false, "Run experiment in all namespaces")
verifyCmd.MarkFlagsMutuallyExclusive("namespace", "all")
}
10 changes: 0 additions & 10 deletions cmd/secops-chaos/main.go

This file was deleted.

3 changes: 3 additions & 0 deletions internal/categories/categories.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright 2023 Operant AI
*/
package categories

type Framework string
Expand Down
3 changes: 3 additions & 0 deletions internal/experiments/parser.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright 2023 Operant AI
*/
package experiments

import (
Expand Down