renamed tags command into tag
This commit is contained in:
parent
a1895103fc
commit
52a95af184
@ -8,6 +8,6 @@ import open_cmd
|
||||
import edit_cmd
|
||||
import remove_cmd
|
||||
import websearch_cmd
|
||||
import tags_cmd
|
||||
import tag_cmd
|
||||
import attach_cmd
|
||||
import update_cmd
|
||||
|
@ -19,7 +19,7 @@ from ..repo import Repository, InvalidReference
|
||||
from . import helpers
|
||||
|
||||
def parser(subparsers, config):
|
||||
parser = subparsers.add_parser('tags', help="add, remove and show tags")
|
||||
parser = subparsers.add_parser('tag', help="add, remove and show tags")
|
||||
parser.add_argument('referenceOrTag', nargs='?', default = None,
|
||||
help='reference to the paper (citekey or number), or '
|
||||
'tag.')
|
@ -10,19 +10,19 @@ from papers import configs
|
||||
from papers import commands
|
||||
|
||||
cmds = collections.OrderedDict([
|
||||
('init', commands.init_cmd),
|
||||
('add', commands.add_cmd),
|
||||
('init', commands.init_cmd),
|
||||
('add', commands.add_cmd),
|
||||
('add_library', commands.add_library_cmd),
|
||||
('import', commands.import_cmd),
|
||||
('export', commands.export_cmd),
|
||||
('list', commands.list_cmd),
|
||||
('edit', commands.edit_cmd),
|
||||
('remove', commands.remove_cmd),
|
||||
('open', commands.open_cmd),
|
||||
('websearch', commands.websearch_cmd),
|
||||
('tags', commands.tags_cmd),
|
||||
('attach', commands.attach_cmd),
|
||||
('update', commands.update_cmd),
|
||||
('import', commands.import_cmd),
|
||||
('export', commands.export_cmd),
|
||||
('list', commands.list_cmd),
|
||||
('edit', commands.edit_cmd),
|
||||
('remove', commands.remove_cmd),
|
||||
('open', commands.open_cmd),
|
||||
('websearch', commands.websearch_cmd),
|
||||
('tag', commands.tag_cmd),
|
||||
('attach', commands.attach_cmd),
|
||||
('update', commands.update_cmd),
|
||||
])
|
||||
|
||||
config = configs.read_config()
|
||||
|
Loading…
x
Reference in New Issue
Block a user