From 21805e70570c9555d1895a5905a9e927b1a249fc Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Mon, 1 Nov 2021 21:26:59 -0700 Subject: [PATCH] Simplify Makefile commands Typing `project_` twice for each invocation of the tool quickly became burdensome, so I removed it. :D --- Makefile | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c024074..72a4f6a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ build: instructions run: instructions cd ./src/github_projects_burndown_chart \ - && PYTHONPATH=. python main.py $(project_type) $(project_name) + && PYTHONPATH=. python main.py $(type) $(name) test: instructions coverage run \ diff --git a/README.md b/README.md index db209d2..877e286 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ All settings are the same as for the [Repository Projects](#repository-projects) ## Usage Given that `PROJECT_TYPE` is one of `[repository, organization]` and `PROJECT_NAME` matches a key in the `config.json` under the chosen `PROJECT_TYPE`, run the following command: ``` -make run project_type=PROJECT_TYPE project_name=PROJECT_NAME +make run type=PROJECT_TYPE name=PROJECT_NAME ``` This will pop up an interactive window containing the burndown chart, including a button for saving it as a picture. @@ -110,12 +110,12 @@ Make a copy of `example.config.json` without the leading `example.` To see this repository's example project board: ``` -make run project_type=repository project_name=burndown_chart_kickoff +make run type=repository name=burndown_chart_kickoff ``` To see Golang's progress on their current roadmap: ``` -make run project_type=organization project_name=golang_on_deck +make run type=organization name=golang_on_deck ``` ## Contributing -- 2.54.0