15 lines
293 B
Python
Executable file
15 lines
293 B
Python
Executable file
#!/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())
|