brainglobe
Search…
cli

Contents

bg_cli [#7]

Check the source code online
1
def bg_cli(command, atlas_name=None, force=False, show=False,
2
key=None, value=None):
Copied!
  docstring:
1
Command line dispatcher. Given a command line call to `brainglobe`
2
3
it calls the correct function, depending on which `command` was
4
passed.
5
6
Arguments:
7
8
----------
9
10
command: str. Name of the command:
11
12
- list: list available atlases
13
14
- install: isntall new atlas
15
16
- update: update an installed atlas
17
18
- config: modify config
19
20
show: bool. If True when using `list` shows the local path of
21
installed atlases
22
23
and when using 'config' it prints the modify config results.
24
25
atlas_name: ts. Used with `update` and `install`, name of the atlas to
26
install
27
28
force: bool, used with `update`. If True it forces the update
Copied!
Copy link