You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a command-line argument to specify config directory.
Why is it useful?
For users that keep their configs neat and tidy inside $Env:USERPROFILE/.config, one may run yasb with an argument specifying the location of the config directory.
How could it be implemented?
Using argparse one could define a command-line interface for running yasb with arguments. Developers may optionally handle environment variables such as $Env:USERPROFILE for better control and more flexibility.
Intended usage
Preferably, yasb would be executed within a virtual environment. Here's how my launch command would look:
The above PowerShell command starts a Python process using a venv created by pipenv. The ArgumentList consists of yasb_main_path, a --config option, and a config_dir path. It opens yasb in a hidden window so that yasb won't close if the user closes the executing shell.
The text was updated successfully, but these errors were encountered:
What is the request?
Add a command-line argument to specify config directory.
Why is it useful?
For users that keep their configs neat and tidy inside
$Env:USERPROFILE/.config
, one may runyasb
with an argument specifying the location of the config directory.How could it be implemented?
Using
argparse
one could define a command-line interface for runningyasb
with arguments. Developers may optionally handle environment variables such as$Env:USERPROFILE
for better control and more flexibility.Intended usage
Preferably,
yasb
would be executed within a virtual environment. Here's how my launch command would look:The above PowerShell command starts a Python process using a
venv
created bypipenv
. TheArgumentList
consists ofyasb_main_path
, a--config
option, and aconfig_dir
path. It opensyasb
in a hidden window so thatyasb
won't close if the user closes the executing shell.The text was updated successfully, but these errors were encountered: