- Interactively select and organize dotfiles and directories.
- Specify a project location for storing the selected dotfiles and directories,
can also be done by setting an env
$DOTBOT_LOCATION=/path/to/location
. - Initialize a Git repository in the project location for version control.
- Generate a list of selected dotfiles and directories in a text file.
- Verify the existence of selected dotfiles and directories.
- Option to run a separate dotbot script for further processing.
- Python 3.x
- Git
-
Clone the repository:
-
Navigate to the project directory:
3 Run the dotbot.py script:
python3 dotbot.py
-
Follow the prompts to select and organize your dotfiles and directories.
-
Specify the project location where the dotfiles and directories will be stored. If not provided, a default location will be used.
-
The selected dotfiles and directories will be listed, and their existence will be verified.
-
Optionally, you can choose to run the dotbot script for further processing.
-
If you wish to run the dotbot script separately, execute it with the following command:
bash run_dotbot.sh
Unit tests for the dotbot.py module can be found in the tests directory. To run the tests, you will need pytest. Install pytest using the following command:
pip install pytest
To run the tests, navigate to the project directory and execute the following command:
pytest -s
License This project is licensed under the MIT License.