This repository has been archived on 2022-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
vaultpass/pass.py
2020-04-04 07:12:28 -04:00

25 lines
532 B
Python
Executable File

#!/usr/bin/env python3
import vaultpass
def main():
rawargs = vaultpass.args.parseArgs()
args = rawargs.parse_args()
if not args.oper:
rawargs.print_help()
return(None)
if args.oper == 'help':
rawargs.print_help()
return(None)
if args.oper == 'version':
print('{0} {1}'.format(vaultpass.constants.NAME,
vaultpass.constants.VERSION))
import pprint
pprint.pprint(vars(args))
return(None)
if __name__ == '__main__':
main()