Skip to content

🦊 A CLI tool to interact with FoxSkills β€” initialize, test, and verify coding challenges locally or in containers, without needing the website.

Notifications You must be signed in to change notification settings

foxskills-dev/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦊 FoxSkills CLI

This CLI helps bridge your development environment with FoxSkills.
It allows you to initialize local projects and run tests without interacting directly with the FoxSkills website.

Installation

git clone https://github.com/foxskills-dev/cli.git
cd cli/
python3 -m venv venv
. venv/bin/activate
# Will be replaced with a requirements.txt soon
pip install docker

Usage

python3 cli.py <action> [...args]

Initialize a local project

python3 cli.py init <challenge-name> <user-repo>
# Example:
python3 cli.py init helloworld https://github.com/zalo-alex/helloworld-test

Test the local project

cd <project-name>/
. venv/bin/activate
pytest tests.py -v

Verify tests in a container

python3 cli.py verify <challenge-name> <user-repo> <startup-command>
# Example with startup command:
python3 cli.py verify helloworld https://github.com/zalo-alex/helloworld-test "pip install -r requirements.txt --b && python3 app/app.py"
# Example without startup command:
python3 cli.py verify helloworld https://github.com/zalo-alex/helloworld-test None

About

🦊 A CLI tool to interact with FoxSkills β€” initialize, test, and verify coding challenges locally or in containers, without needing the website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages