diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2017-07-26 05:09:14 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2017-07-26 05:09:14 +0300 |
commit | 8e9b7e59696a2facf7fb625bf0b8fc5c577929f1 (patch) | |
tree | 897e00b1adf8c140dce69de1afb0028079d2b368 /pomu/cli.py | |
parent | Unsealed url and bugz package source modules (diff) | |
download | pomu-8e9b7e59696a2facf7fb625bf0b8fc5c577929f1.tar.gz pomu-8e9b7e59696a2facf7fb625bf0b8fc5c577929f1.tar.bz2 pomu-8e9b7e59696a2facf7fb625bf0b8fc5c577929f1.zip |
Paid off some technical debt
error fixes, syntax, logic
finally converted bugz to iquery
fixed extra imports in iquery
totally disabled writing in temp files in the url backend, fixed full
Diffstat (limited to 'pomu/cli.py')
-rw-r--r-- | pomu/cli.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pomu/cli.py b/pomu/cli.py index 14e0b95..bf163b9 100644 --- a/pomu/cli.py +++ b/pomu/cli.py @@ -3,6 +3,7 @@ import click from os import path +from pomu.patch.patch import process_changes from pomu.repo.init import init_plain_repo, init_portage_repo from pomu.repo.repo import portage_repo_path, portage_repos, pomu_active_repo from pomu.source import dispatcher @@ -70,12 +71,11 @@ def status(): else: print('pomu is initialized at', repo.root) -@main.command() +@main.command(name='import') @click.argument('package', required=True) -@click.option('--patch', nargs=-1) - #help='Patches for the package') +@click.option('--patch', nargs = -1) @needs_repo -def import(package, patch): +def list(package, patch): """Imports a package""" pkg = dispatcher.get_package(package).expect() pkg.patch(patch) |