Commit 4e636f5
authored
Add option to use certain commands outside of a ctfcli project (CTFd#136)
- extract challenge resolving code from each command to a reusable method
- stop relying on config whenever it's not necessary (challenge new, format, lint)
- improve variable naming (explicit `challenge_instance` instead of shadowing the `challenge` kwarg)
- fix some typos
Closes CTFd#1351 parent 91872e0 commit 4e636f5
File tree
4 files changed
+259
-294
lines changed- ctfcli
- cli
- core
4 files changed
+259
-294
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments