Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 720 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 720 Bytes

wsl-tool

Handy classes for WSL management.

Inspired by GWSL, a great work from Pololot64, this project is a wrapper around the WSL executable to:

  • check if WSL is installed;
  • list and access the installed distribution;
  • import new distribution from tarball files;
  • run commands inside a distribution;
  • read and set known environment variables in the user .profile;
  • get the installed apps (that have a .desktop entry).
from wsl_tools import wsl_tools

manager = wsl_tools.WSLManager()

For more information read the reference documentation.

contributing

Contributions are welcome! See contributing.