-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kevin Meredith
committed
Aug 24, 2018
1 parent
a073802
commit 960cb90
Showing
6 changed files
with
231 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
""" Process CLI args and invoke main program """ | ||
|
||
#!/usr/bin/python3 | ||
|
||
import sys | ||
import argparse | ||
from . import ews | ||
|
||
def main(): | ||
""" Parse cli args and invoke main program """ | ||
parser = argparse.ArgumentParser(description=('Outlook Web Access CLI Client')) | ||
parser.add_argument('-d', '--daemon', required=False, action='store_true', help='Run non-interactive') | ||
parser.add_argument('-d', '--daemon', | ||
required=False, action='store_true', help='Run non-interactive') | ||
|
||
args = parser.parse_args() | ||
|
||
ews.exchange_web_access(args) | ||
ews.ExchangeWebAccess(args) | ||
|
||
if __name__ == "__main__": | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.