This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
bitelab
Watch
1
Star
0
Fork
0
Code
Issues
5
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add bitelab as a script to get installed, display usage if no commands..
main
John-Mark Gurney
4 years ago
parent
0bc61b74fe
commit
f36f9b5803
2 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
bitelab/__main__.py
+5
-0
setup.py
+ 3
- 0
bitelab/__main__.py
View File
@@ -159,6 +159,9 @@ async def real_main():
brd = Board.parse_obj(res.json())
output_board(brd)
else:
parser.print_usage()
sys.exit(5)
finally:
await client.aclose()
+ 5
- 0
setup.py
View File
@@ -30,4 +30,9 @@ setup(
extras_require = {
'dev': [ 'coverage' ],
},
entry_points={
'console_scripts': [
'bitelab = bitelab.__main__:main',
]
}
)
Write
Preview
Loading…
Cancel
Save