A Python script for saving, listing, and managing directory paths.
Project description
Certainly! Here's an updated README.md with instructions for pip installation:
# PathSaver
PathSaver is a Python script for saving, listing, and managing directory paths.
## Installation
You can install PathSaver via pip:
```bash
pip install pathsaver
```
Usage
After installation, you can use the pathsaver
command-line utility to save, list, delete, and copy directory paths.
Save a Path
To save a directory path with a custom variable name, use the following command:
pathsaver <variable_name> <directory_path>
Replace <variable_name>
with the name you want to assign to the directory path and <directory_path>
with the actual directory path you want to save.
List Saved Paths
To list all saved paths, use the following command:
pathsaver --list
Delete a Saved Path
To delete a saved path by variable name, use the following command:
pathsaver --delete <variable_name>
Replace <variable_name>
with the name of the variable you want to delete.
Delete All Saved Paths
To delete all saved paths, use the following command:
pathsaver --delete-all
Copy a Saved Path to Clipboard
To copy a saved path to the clipboard, use the following command:
pathsaver --copy <variable_name>
Replace <variable_name>
with the name of the variable whose path you want to copy.
Update Environment Variable
To update the environment variable with saved paths, use the following command:
pathsaver --update-env
License
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to adjust the instructions or add more details as needed!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pathsaver-1.tar.gz
.
File metadata
- Download URL: pathsaver-1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e51226a40eeac02705e60a168ca6ca8ca892cdb3132449b29e0e5cba7e9582 |
|
MD5 | 60b24241a94f8761af14a92dd6bebf56 |
|
BLAKE2b-256 | a2d77a79013e8141f06995280ae89244d60fdd899f6aa178e0703c4bc83135a5 |
File details
Details for the file pathsaver-1.0-py3-none-any.whl
.
File metadata
- Download URL: pathsaver-1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e240e5f8b9bedbac5b89319063be199dec73d3d97d0975d09bc04c86784cc642 |
|
MD5 | f34d549e0e162336714821177b8a025a |
|
BLAKE2b-256 | b8d92c3dc046d2f6f5443174ac7ee6f51d8a46e3e2b0e17777eac9ab16b62afc |