Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flet doctor CLI command #4785

Open
4 of 5 tasks
ndonkoHenri opened this issue Jan 27, 2025 · 8 comments
Open
4 of 5 tasks

flet doctor CLI command #4785

ndonkoHenri opened this issue Jan 27, 2025 · 8 comments
Assignees
Labels
cli related to the command-line interface feature request Suggestion/Request for additional feature good first issue Good starting point for first-time contributors

Comments

@ndonkoHenri
Copy link
Contributor

ndonkoHenri commented Jan 27, 2025

Description

Running flet doctor in the terminal/console should output useful debug information like:

  • Flet version installed (flet --version)
  • Python version installed (python --version)
  • Operating System info
  • flutter doctor if flutter is installed
  • ... (any other?)

Context

  • Follow the steps of our Contribution guide to have everything properly setup. (for this issue, Flutter isn't a must-have, so feel free to skip its section)

  • Create a doctor.py file here in the flet-cli package.

  • Inspire yourself from the already existing files for the other cli commands.

  • Ask questions if you face issues at any step or don't understand something. (Discord)

I marked this issue as "good-first-issue", and will self-assign myself in some days if not picked up by someone willing to contribute.

@ndonkoHenri ndonkoHenri added cli related to the command-line interface feature request Suggestion/Request for additional feature good first issue Good starting point for first-time contributors labels Jan 27, 2025
@FeodorFitsner
Copy link
Contributor

App's requirements: pyproject.toml or requirements.txt.

@OVECJOE
Copy link

OVECJOE commented Jan 30, 2025

@ndonkoHenri I have to have Flutter installed to do this?

@ndonkoHenri
Copy link
Contributor Author

ndonkoHenri commented Jan 30, 2025

@OVECJOE no you don't.

You just have to follow this guide (ignore the Flutter-related sections): https://github.com/flet-dev/flet/blob/main/CONTRIBUTING.md

Of you are willing to discuss in a more interactive way, feel free to write on the Flet discord server: https://discord.com/channels/981374556059086931/1334494220727357463

@OVECJOE
Copy link

OVECJOE commented Jan 30, 2025

@ndonkoHenri Noted with thanks.

@AdreshSingh
Copy link

AdreshSingh commented Jan 30, 2025

Can I give my hands too, if I am not too late, Mr. @ndonkoHenri

@ndonkoHenri
Copy link
Contributor Author

ndonkoHenri commented Jan 30, 2025

@AdreshSingh You can give it a try too. 🙂

Feel free to mention any issues you face or questions you have, here on gh or on Discord.

I updated the issue's description with more info btw.

@ndonkoHenri
Copy link
Contributor Author

Oh, seems like we have a PR: #4803 🥹

@Gordon-Burns
Copy link

Gordon-Burns commented Jan 30, 2025

I have a PR for this ready to hopefully be merged :)

@ndonkoHenri ndonkoHenri moved this from 🆕 New to 🏗 In progress in Flet Development Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli related to the command-line interface feature request Suggestion/Request for additional feature good first issue Good starting point for first-time contributors
Projects
Status: 🏗 In progress
Development

No branches or pull requests

5 participants