johnlindquist / johnlindquist/mdflow

[feature req]default command in config file

Open
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
604
Forks
43
PR merge metrics
No merged PRs in 30d

Description

Another idea is about default command in config file.

We can use

mdflow task.md --_command claude
mdflow task.md -_c gemini

to specify the cli.

For tasks that don't require a specific model, I'd prefer a default command to execute the .md file. If we can set default command in config file, which would be convenient, right?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the CLI handling for mdflow task.md --_command claude and mdflow task.md -_c gemini, then locate how configuration is loaded. Define the configuration setting for a default command and verify that it is used when no command option is supplied, while an explicit option still takes precedence.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
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.