github.com/decred/politeia@v1.4.0/politeiawww/cmd/politeiavoter/help.go (about)

     1  // Copyright (c) 2021 The Decred developers
     2  // Use of this source code is governed by an ISC
     3  // license that can be found in the LICENSE file.
     4  
     5  package main
     6  
     7  const listCmdMessage = `Available commands:
     8    inventory Retrieve all proposals that are being voted on
     9    vote      Vote on a proposal
    10    tally     Tally votes on a proposal
    11    verify    Verify votes on a proposal
    12    help      Print detailed help message for a command`
    13  
    14  const inventoryHelpMsg = `inventory 
    15  
    16  Retrieve all proposals that are being voted on.`
    17  
    18  const voteHelpMsg = `vote "token" "voteid"
    19  
    20  Vote on a proposal.
    21  
    22  Arguments:
    23  1. token   (string, required)  Proposal censorship token
    24  2. voteid  (string, required)  Vote option ID (e.g. yes)`
    25  
    26  const tallyHelpMsg = `tally "token"
    27  
    28  Tally votes on a proposal.
    29  
    30  Arguments:
    31  1. token   (string, required)  Proposal censorship token`
    32  
    33  const verifyHelpMsg = `verify "tokens..."
    34  
    35  Verify votes on proposals. If no tokens are provided or 'ALL' string is 
    36  provided then it verifies all votes present in the vote dir.
    37  
    38  Arguments:
    39  1. tokens  ([]string, optional)  Proposal tokens.`