Skip to content

Commit

Permalink
Added command line bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Apr 23, 2024
1 parent 2ec0560 commit 44d7a70
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions nwb2bids/cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from clize import run
from nwb2bids import base

#def reposit():
# run(base.reposit)

def main():
run({
'reposit': base.reposit,
})

if __name__ == '__main__':
main()
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ python_requires = >=3.8
install_requires =
numpy
pynwb
clize
packages = find:
include_package_data = false
zip_safe = false
Expand All @@ -40,3 +41,8 @@ skip = .git*
check-hidden = true
# ignore-regex =
# ignore-words-list =


[options.entry_points]
console_scripts =
nwb2bids = nwb2bids.cli:main

0 comments on commit 44d7a70

Please sign in to comment.