plotly / plotly/dash

provide a command-line interface for Dash

Open
#2,511 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Thanks so much for your interest in Dash!

Before posting an issue here, please check the Dash community forum to see if the topic has already been discussed. The community forum is also great for implementation questions. When in doubt, please feel free to just post the issue here :)

Is your feature request related to a problem? Please describe.
I see that some ideas are related to this sentiment of Dash needing a CLI. Some people have suggested cookiecutter. I think Dash needs a cli created in a directory cli/. Some commands I think would be great off the bat.

dash create-app <project-name> - create a project with certain directories, including a venv directory
dash run --dev - run a dash app with or without debug mode

Possibly even add a command to run in Docker

Describe the solution you'd like
A directory that is dedicated to the cli/ that contains all of the logic and the commands needed

Describe alternatives you've considered
I've considered creating a separate repo for this, but it makes the project sloppy and updates can get out of sync. I've also seen cookiecutter as a workaround, but for similar reasons, I think a dedicated cli that is in the repo is a better alternative. Even if that cli uses cookiecutter under the hood.

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 by reviewing the repository structure and the proposed cli/ directory boundary, then inspect how Dash applications are currently created and run. Compare the requested dash create-app and dash run --dev commands with existing project workflows. Done would require an agreed CLI design, project-generation behavior, run and debug behavior, and any Docker scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.