Skip to content
Snippets Groups Projects
  • Max Jonas Werner's avatar
    ffcd7d80
    feat: prompt for access tokens in 'bootstrap' command · ffcd7d80
    Max Jonas Werner authored
    
    This change adds functionality to both, `bootstrap github` and
    `bootstrap gitlab` to prompt the user for the personal access tokens
    if those can't be derived from the shell environment. Echoing is
    turned off for better privacy.
    
    Instead of having to interactively type the token or manually paste it
    from the clipboard, users can also pipe it to Flux which comes in
    handy e.g. when executing Flux remotely over an SSH connection:
    
    ```
    $ echo 'asdf' | flux bootstrap github
    ```
    
    Otherwise, Flux will prompt the user:
    
    ```
    $ flux bootstrap github
    Please type your GitHub personal access token:
    ```
    
    closes #2011
    
    Signed-off-by: default avatarMax Jonas Werner <mail@makk.es>
    feat: prompt for access tokens in 'bootstrap' command
    Max Jonas Werner authored
    
    This change adds functionality to both, `bootstrap github` and
    `bootstrap gitlab` to prompt the user for the personal access tokens
    if those can't be derived from the shell environment. Echoing is
    turned off for better privacy.
    
    Instead of having to interactively type the token or manually paste it
    from the clipboard, users can also pipe it to Flux which comes in
    handy e.g. when executing Flux remotely over an SSH connection:
    
    ```
    $ echo 'asdf' | flux bootstrap github
    ```
    
    Otherwise, Flux will prompt the user:
    
    ```
    $ flux bootstrap github
    Please type your GitHub personal access token:
    ```
    
    closes #2011
    
    Signed-off-by: default avatarMax Jonas Werner <mail@makk.es>