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

Running sync & install commands when inside a challenge directory now fails silently #64

Open
arxenix opened this issue Jun 30, 2021 · 2 comments

Comments

@arxenix
Copy link

arxenix commented Jun 30, 2021

Not sure if this is intended behavior, but in the previous build of ctfcli, when in a challenge directory, running ctf challenge sync or ctf challenge install would sync/install that challenge

In 0.0.8, it fails silently

@ColdHeat
Copy link
Member

I think that you want ctf challenge install . and ctf challenge sync .

Without the argument was always supposed to install/sync all challenges. I think perhaps you haven't added the challenge into the .ctf/config file with ctf challenge add.

I see how this could be confusing so I'll leave this open to see if anyone has a better workflow or if I come up with something better.

@tyhdefu
Copy link

tyhdefu commented Aug 26, 2024

ctf challenge sync . does not work for me. I have to use the name of the current directory even if i'm in the directory.
ValueError: 'challenge.yml' is not in the subpath of '..../Documents/my-ctf/ctfcli-challenges' OR one path is relative and the other is absolute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants