16 lines
468 B
Makefile
16 lines
468 B
Makefile
run:
|
|
python -m sims.main --config ./example-stylix-dev.yaml
|
|
|
|
# Talk to the running sims daemon over DBus.
|
|
# Usage: make cli list
|
|
# make cli finder
|
|
# make cli screenrec stop
|
|
# make cli ARGS="list --json" # for flags (make eats leading dashes)
|
|
ifeq (cli,$(firstword $(MAKECMDGOALS)))
|
|
CLI_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
|
$(eval $(CLI_ARGS):;@:)
|
|
endif
|
|
|
|
cli:
|
|
@python -m sims.cli $(if $(ARGS),$(ARGS),$(CLI_ARGS))
|