kennethreitz / kennethreitz/bake

Feature Request --force -f

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
638
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Please add a `--force` flag to force task to run even if hash has not changed on a task with a `@skip:key`

```
$bake install
+ Executing @skip(key=requirements.txt):
+ Skipping install/python.
+ Executing install:
+ Done.

$bake install --force
+ Executing install/python:
.
.
.
+ Executing install:
+ Done.

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `bake install` command and trace how `@skip(key=requirements.txt)` decides whether a task runs. Add the requested `--force`/`-f` behavior so the skipped task executes despite an unchanged hash, then verify the output matches the example for both commands.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.