Skip to main content

gio-based volume mounting and unmounting tool.

Project description

gio-based volume handling tool lid

(Un)Install

To install, run

uv tool install lid-cli

Then run

yd --install-completion

to install auto-completion in your shell.

In bash, the completion code is stored in ~/.bash_completions/lid.sh and that file is sourced from ~/.bashrc. Remove both and call uv tool uninstall lid-cli to remove this tool.

(Un)Mounting

Currently, lid allows to (un)mount volumes using gio.

To find available volumes, run lid ls (add the --mounted option to restrict to mounted volumes).

Use lid mount NAME to mount a volume wherein name is the name displayed by lid ls.

Use lid umount NAME to unmount. lid will only unmount what it has itself mounted. This allows to sandwich another action between a lid mount and a lid umount call to have the volume mounted during the action and retain the initial state afterwards (if the volume was mounted before calling lid mount it is still mounted after lid umount).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lid_cli-0.4.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lid_cli-0.4-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file lid_cli-0.4.tar.gz.

File metadata

  • Download URL: lid_cli-0.4.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for lid_cli-0.4.tar.gz
Algorithm Hash digest
SHA256 3874d494da0e5c74951b814f916027822edb2be7e67284f3441ad35e570953f0
MD5 97987a637d106d43d71fc121061d71a6
BLAKE2b-256 6368afcb0249c54d6072a27a1b056aaa62efe11fb0a03d315a13e001fdef7017

See more details on using hashes here.

File details

Details for the file lid_cli-0.4-py3-none-any.whl.

File metadata

  • Download URL: lid_cli-0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for lid_cli-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 038ea88ad3f7658069221cc25bbc0982872c074fe13769d650f40c8616545636
MD5 6e5db349b6172c325468f1d0be55bb93
BLAKE2b-256 89d258d2390ad2dc0d65e2e22884fdfd1cfe64a01d10d030bdeaa6bafa2e4bbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page