github.com/grailbio/base@v0.0.11/cmd/grail-access/remote/flag.go (about) 1 // Copyright 2022 GRAIL, Inc. All rights reserved. 2 // Use of this source code is governed by the Apache-2.0 3 // license that can be found in the LICENSE file. 4 5 package remote 6 7 const ( 8 // FlagNameMode is the name of the string flag used to set the mode of 9 // grail-access for sending and receiving blessings. 10 FlagNameMode = "internal-bless-remotes-mode" 11 // ModeSend initiates the full sender workflow. See package documentation. 12 ModeSend = "send" 13 // ModePublicKey causes grail-access to print the local principal's public 14 // key. 15 ModePublicKey = "public-key" 16 // ModeReceive causes grail-access to read blessings from os.Stdin and set 17 // them as both the default and for all principal peers. 18 ModeReceive = "receive" 19 )