-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sourcetracker2 gibbs work as a command
- Loading branch information
Showing
4 changed files
with
21 additions
and
22 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
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,20 +0,0 @@ | ||
# ---------------------------------------------------------------------------- | ||
# Copyright (c) 2016--, Biota Technology. | ||
# | ||
# Distributed under the terms of the Modified BSD License. | ||
# | ||
# The full license is in the file LICENSE, distributed with this software. | ||
# ---------------------------------------------------------------------------- | ||
from importlib import import_module | ||
import click | ||
|
||
from sourcetracker import __version__ | ||
|
||
|
||
@click.group() | ||
@click.version_option(__version__) | ||
def cli(): | ||
pass | ||
|
||
|
||
import_module('sourcetracker._cli.gibbs') | ||
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# ---------------------------------------------------------------------------- | ||
# Copyright (c) 2016--, Biota Technology. | ||
# | ||
# Distributed under the terms of the Modified BSD License. | ||
# | ||
# The full license is in the file LICENSE, distributed with this software. | ||
# ---------------------------------------------------------------------------- | ||
import click | ||
|
||
from importlib import import_module | ||
from sourcetracker import __version__ | ||
|
||
|
||
@click.group() | ||
@click.version_option(__version__) | ||
def cli(): | ||
pass | ||
|
||
import_module('sourcetracker._cli.gibbs') |
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