16 lines
293 B
Python
16 lines
293 B
Python
|
#!/usr/bin/env python3
|
||
|
import shutil
|
||
|
|
||
|
|
||
|
def main() -> int:
|
||
|
if not (bw_path := shutil.which("bw")):
|
||
|
print("Bitwarden CLI `bw` executable not found in PATH")
|
||
|
return 1
|
||
|
# TODO: finish
|
||
|
print(bw_path)
|
||
|
return 0
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
raise SystemExit(main())
|