feat: bride configuration with --token-stdin flag

Labels: area/bridge area/cli

Timeline

Amine (a-hilaly) opened

As discussed in #153: To provide a token directly for git bug bridge configure we can add a second flag (like --token-stdin) to configure a bridge with a given token from stdin

Amine (a-hilaly) added label area/cli

Amine (a-hilaly) added label area/bridge

Amine (a-hilaly) commented

I implemented this feature in https://github.com/MichaelMure/git-bug/commit/65b34b66a9a326f899173f30b804005a6cec5356 but i'm having an error Error: inappropriate ioctl for device when i run a command like echo "TOKEN" | ./git-bug bridge configure --name=test --target=github --token-sdtin Can anyone try to reproduce the same error ? i'm thinking that maybe this is related to my terminal or environnement

Michael Muré (MichaelMure) closed the bug