OILS / bin / hello_mylib.py View on Github | oils.pub

18 lines, 10 significant
1"""
2bin/hello_mylib.py
3"""
4from __future__ import print_function
5
6from typing import List
7
8from mycpp.mylib import print_stderr
9
10
11def main(argv):
12 # type: (List[str]) -> int
13 print('hi')
14 print_stderr('stderr')
15 if len(argv):
16 return 1
17 else:
18 return 0