We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d03381c commit 0fbe400Copy full SHA for 0fbe400
ctfcli/__main__.py
@@ -17,9 +17,13 @@
17
18
19
class CTFCLI(object):
20
- def init(self):
21
- ctf_url = click.prompt("Please enter CTFd instance URL")
22
- ctf_token = click.prompt("Please enter CTFd Admin Access Token")
+ def init(self, no_config=False):
+ ctf_url = click.prompt(
+ "Please enter CTFd instance URL", default="", show_default=False
23
+ )
24
+ ctf_token = click.prompt(
25
+ "Please enter CTFd Admin Access Token", default="", show_default=False
26
27
if (
28
click.confirm(f"Do you want to continue with {ctf_url} and {ctf_token}")
29
is False
0 commit comments