Closed lucasrodes closed 1 week ago
Quick links (staging server): Site | Admin | Wizard |
---|
Login: ssh owid@staging-site-add-options-draft-pr
Edited: 2024-06-19 22:43:20 UTC Execution time: 13.51 seconds
you can still use the tool without a scope, i agree we shouldn't force users to use it... at least for now!
Add prefix options
--category
(or-c
): PR category based on our etiquette. Will be used to add an emoji to the start of the PR title.--scope
(or-s
): brief summary of the PR scope (e.g. 'wizard')Examples
etl d draft-pr <branch-name> -c data -t "Update VDEM data"
→ :bar_chart: Update VDEM dataetl d draft-pr <branch-name> -c data -s vdem -t "update"
→ :bar_chart: vdem: updateetl d draft-pr <branch-name> "Update VDEM data"
→ Update VDEM dataetl d draft-pr <branch-name> -c enhance -s vdem
→ 🚧 Draft PR for branchNotes
etl d draft-pr
→etl pr
-c data -s vdem -t "update"
→-d vdem "update"
, where first is flag with PR category, and then two positional (free-text) arguments: scope, and title.etl d draft-pr -c data -s vdem -t update
→etl pr -d vdem update
Other modifications
In addition, I've added shorter argument names
-t
for--title
and-b
for--base-branch
.