From d65eec12fe3e0029fb67d8c2b1a0bdb8b350af2b Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 18 Jan 2020 17:32:19 -0800 Subject: [PATCH] Update arguments for unimplemented lexicon commands --- amanuensis/cli/lexicon.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/amanuensis/cli/lexicon.py b/amanuensis/cli/lexicon.py index 0c056c1..d4bdcde 100644 --- a/amanuensis/cli/lexicon.py +++ b/amanuensis/cli/lexicon.py @@ -136,7 +136,6 @@ def command_player_remove(args): raise NotImplementedError() # TODO @requires_lexicon -@requires_username def command_player_list(args): """ List all players in a lexicon @@ -144,13 +143,18 @@ def command_player_list(args): raise NotImplementedError() # TODO @requires_lexicon +@requires_username +@add_argument("--charname", required=True, help="The character's name") def command_char_create(args): """ Create a character for a lexicon + + The specified player will be set as the character's player. """ raise NotImplementedError() # TODO @requires_lexicon +@add_argument("--charname", required=True, help="The character's name") def command_char_delete(args): """ Delete a character from a lexicon @@ -172,11 +176,20 @@ def command_char_list(args): # @requires_lexicon +@add_argument( + "--as-deadline", action="store_true", + help="Notifies players of the publish result") +@add_argument( + "--force", action="store_true", + help="Publish all approved articles, regardless of other checks") def command_publish_turn(args): """ Publishes the current turn of a lexicon - Ability to publish is checked against the lexicon's - turn publish policy unless --force is specified. + The --as-deadline flag is intended to be used only by the scheduled publish + attempts controlled by the publish.deadlines setting. + + The --force flag bypasses the publish.quorum and publish.block_on_ready + settings. """ raise NotImplementedError() # TODO \ No newline at end of file