Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create: allow creating of exercise #845

Merged
merged 33 commits into from
Jan 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
992e2ea
Setup basic structure
ErikSchierboom Dec 19, 2023
9406ba2
initial work to update track config
ErikSchierboom Dec 19, 2023
322f2d1
Create exercise
ErikSchierboom Dec 19, 2023
4d6445f
Extract common logic
ErikSchierboom Dec 19, 2023
46e9b45
Use set literal
ErikSchierboom Dec 19, 2023
dd8c152
Create files
ErikSchierboom Dec 19, 2023
3abb434
Simplify code
ErikSchierboom Jan 2, 2024
f205ee7
Fix missing newlines
ErikSchierboom Jan 2, 2024
e127ad0
Fix unit tests
ErikSchierboom Jan 2, 2024
6b10b40
Add tests for trying to create exercise that already exists
ErikSchierboom Jan 2, 2024
00f3189
Rebased
ErikSchierboom Jan 18, 2024
11c73cd
Fix --practice-exercise and --concept-exercise args
ErikSchierboom Jan 11, 2024
dc8d3d0
Only update correct values
ErikSchierboom Jan 11, 2024
3813173
Couple of fixes
ErikSchierboom Jan 11, 2024
21998f0
Only sync once
ErikSchierboom Jan 11, 2024
b28d864
Use once:
ErikSchierboom Jan 11, 2024
182fc6d
Silence output
ErikSchierboom Jan 11, 2024
e4a0e53
Add logging output
ErikSchierboom Jan 11, 2024
bb15c83
Work on tests
ErikSchierboom Jan 12, 2024
e4afe61
Add tests to verify exercises being created
ErikSchierboom Jan 12, 2024
df22c84
Some cleanup
ErikSchierboom Jan 12, 2024
a5cbf57
Add comment
ErikSchierboom Jan 12, 2024
8846c98
Revert diff change
ErikSchierboom Jan 12, 2024
dbc65d8
Simplify
ErikSchierboom Jan 12, 2024
531c62d
Update src/exec.nim
ErikSchierboom Jan 12, 2024
7b7a835
Update src/exec.nim
ErikSchierboom Jan 12, 2024
1915ba5
More refactoring
ErikSchierboom Jan 12, 2024
5f53e64
Fix indentation
ErikSchierboom Jan 18, 2024
1035394
Hard wrap line
ErikSchierboom Jan 18, 2024
26bfed4
Allow offline create
ErikSchierboom Jan 18, 2024
77bb4a5
Output prob-specs updating
ErikSchierboom Jan 18, 2024
a564e73
Fix tests
ErikSchierboom Jan 18, 2024
bac7ac2
Fix readme test
ErikSchierboom Jan 18, 2024
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
Prev Previous commit
Next Next commit
Fix --practice-exercise and --concept-exercise args
  • Loading branch information
ErikSchierboom committed Jan 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 11c73cd02f07853332ef2e681cd35699132eb55d
4 changes: 2 additions & 2 deletions src/cli.nim
Original file line number Diff line number Diff line change
@@ -85,8 +85,8 @@ type
# Options for `create`
optCreateApproach = "approach"
optCreateArticle = "article"
optCreateConceptExercise = "concept-exercise"
optCreatePracticeExercise = "practice-exercise"
optCreateConceptExercise = "conceptexercise"
optCreatePracticeExercise = "practiceexercise"

# Options for `completion`
optCompletionShell = "shell"