File: project_path.py

package info (click to toggle)
python-questionary 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 960 kB
  • sloc: python: 3,917; makefile: 66
file content (8 lines) | stat: -rw-r--r-- 238 bytes parent folder | download
1
2
3
4
5
6
7
8
import questionary

if __name__ == "__main__":
    path = questionary.path("Path to the projects version file").ask()
    if path:
        print(f"Found version file at {path} 🦄")
    else:
        print("No version file it is then!")