refactor: subcommands (#1111)

This commit is contained in:
Jonas Plum
2024-11-06 01:21:31 +01:00
committed by GitHub
parent 38a89f2c94
commit d1cf75ab79
5 changed files with 39 additions and 56 deletions

View File

@@ -60,18 +60,16 @@ dev:
@echo "Running..."
rm -rf catalyst_data
go run . admin create admin@catalyst-soar.com 1234567890
go run . set-feature-flags dev
go run . fake-data
go run . serve
go run . serve --app-url http://localhost:8090 --flags dev
.PHONY: dev-10000
dev-10000:
@echo "Running..."
rm -rf catalyst_data
go run . admin create admin@catalyst-soar.com 1234567890
go run . set-feature-flags dev
go run . fake-data --users 100 --tickets 10000
go run . serve
go run . serve --app-url http://localhost:8090 --flags dev
.PHONY: serve-ui
serve-ui: