CTFd / CTFd/ctfcli

Allow ctf init configuration from CLI

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
215
Forks
95
Avg merge
2h 17m
Merged PRs (30d)
1

Description

We should be able to provide a URL and access token directly from `ctf init` without having to request it from the user.

Something like `ctf init --url https://demo.ctfd.io --token token`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the CLI entry point for `ctf init` and inspect how it currently obtains the URL and access token interactively. Run `ctf init --help` and the existing initialization tests, if present. Done means `--url` and `--token` provide those values directly while the current prompt-based behavior remains available when they are omitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.