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 silent initialization option #143

Open
dennisvang opened this issue May 31, 2024 · 0 comments
Open

add silent initialization option #143

dennisvang opened this issue May 31, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dennisvang
Copy link
Owner

dennisvang commented May 31, 2024

Initializing a repo from an existing .tufup-repo-config file is possible using the command line or api, but this may require user intervention (e.g. confirmation for directory creation).

For CI/CD workflows, it would be convenient to have a 'silent' initialization option for the CLI and API, which does not ask for user confirmation.

For example:

tufup init --silent

or

from tufup.repo import Repository
Repository.from_config().initialize(silent=True)

Note this will require some thought with regard to handling key-pair creation with passwords.

@dennisvang dennisvang self-assigned this May 31, 2024
@dennisvang dennisvang changed the title CLI add silent init option add silent initialization option May 31, 2024
@dennisvang dennisvang added the enhancement New feature or request label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant