Add CLI command to set/modify the module and site

Open Beginner friendly
#72 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
cli

Research direction

Read the existing CLI commands and the code that reads tool.render-engine.cli from pyproject.toml to follow the project’s command and configuration patterns. Implement a command that prompts for the module and Site variable, defaults both to app, and updates those TOML values; done means the saved configuration reflects the supplied values.

Written by the indexing model from the issue text.

Description

Djangonauts

Rather than instructing people to update their pyproject.toml to set the module and site, we should have a CLI command that sets it.

The CLI should prompt the user for both the module (python file) and site (the Site variable in the Python module) with default of app for both and then update the tool.render-engine.cli portion of the TOML file with the supplied values.

Dominant language
Python
Stars
4
Forks
8
Avg merge
21h 34m
Merged PRs (30d)
10

Getting set up

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.

More from render-engine/render-engine-cli

All issues in render-engine/render-engine-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.