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

Add a --edit-config to edit the configuration file. #205

Closed
Antiz96 opened this issue Jul 8, 2024 · 0 comments · Fixed by #209
Closed

Add a --edit-config to edit the configuration file. #205

Antiz96 opened this issue Jul 8, 2024 · 0 comments · Fixed by #209
Assignees
Labels
feature/request New feature or request
Milestone

Comments

@Antiz96
Copy link
Owner

Antiz96 commented Jul 8, 2024

Description

In line with the --gen-config and --show-config options, it would be great to have a arch-update --edit-config option to edit the arch-update.conf configuration file (if it exists). It could default to using $EDITOR and fallback to nano if it is not set.

Motivation and context

This would ease the "manipulation" of the config file as this command will allow to edit the config without having to enter (or even know) the full path. More user friendliness is generally good 😄

@Antiz96 Antiz96 added the feature/request New feature or request label Jul 8, 2024
@Antiz96 Antiz96 self-assigned this Jul 8, 2024
@Antiz96 Antiz96 added this to the v2.3.0 milestone Jul 8, 2024
Antiz96 added a commit that referenced this issue Jul 8, 2024
…onfiguration file

Add the `arch-update --edit-config` option to edit the currently used `arch-update.conf` configuration file.
It uses the editor defined in the `$EDITOR` environment variable or falls back to `nano` if the variable isn't set.

Closes #205
@Antiz96 Antiz96 closed this as completed in 988ad2d Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request
Projects
None yet
1 participant