spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Make scripts executable during init

Open buck-0x opened this issue 1 year ago • 4 comments

It's minor, but it would a be a QoL improvement for the scripts to be made executable when initializing the system.

buck-0x avatar Sep 08 '25 22:09 buck-0x

is this why when trying to execute /plan or /tasks that it fails in trying to locate the script even though it appears in the repo's directory?

accesswatch avatar Sep 08 '25 22:09 accesswatch

is this why when trying to execute /plan or /tasks that it fails in trying to locate the script even though it appears in the repo's directory?

I didn't have that problem myself.

buck-0x avatar Sep 11 '25 03:09 buck-0x

I manually append execute permission in the beginning of the command before I hit continue, e.g.: chmod +x .specify/scripts/setup-plan.sh && .specify/scripts/setup-plan.sh --json Adding this to the generated command may solve this problem for you too.

mbarbieri77 avatar Sep 12 '25 11:09 mbarbieri77

This is now fixed, thank you for the feedback!

localden avatar Oct 19 '25 03:10 localden