Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcspull run-script #335

Open
tony opened this issue Feb 23, 2022 · 0 comments
Open

vcspull run-script #335

tony opened this issue Feb 23, 2022 · 0 comments
Assignees

Comments

@tony
Copy link
Member

tony commented Feb 23, 2022

https://github.com/vcs-python/vcspull/issues/new

Perhaps a possibility in the future, also, may be a vcspull run-script <script> command

This could make it possible to interact with vcspull and libvcs based on the environmental context.

vcspull run <script>

This allows running against your environment settings.

System configs: XDG_CONFIG_DIRS/scripts/my_script.py, e.g. /etc/tmuxp/scripts/my_script.py or vcspull run my_script
User configs: You can also have $XDG_CONFIG_DIR/scripts/my_script.py and use vcspull run my_script

Also support XDG_CONFIG_DIRS for global configs on systems

def run(repos, configs, *args, **kwargs):
    # list of repo objects that can synced
    blender = 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant