Rename daemon CLI command to cache (#4808)
* internal/cmd/wrapper: add deprecation wrapper The deprecation wrapper can be used to display a warning to callers when a command is deprecated. * all: rename daemon to cache Rename the boundary daemon command to boundary cache. This avoids confusion with future client/daemons. * changes daemon to cache in nav --------- Co-authored-by: Robin Beck <stellarsquall@protonmail.ch>
This commit is contained in:
1 parent
be7d72d690
commit
e64443c66f
34 files changed
+554
-299
No files matched your search
@@ -35,7 +35,7 @@ type WrappableCommand interface {
|
||||
BaseCommand() *base.Command
|
||||
}
|
||||
|
||||
// CommandWrapper starts the boundary daemon after the command was Run and attempts
|
||||
// CommandWrapper starts the boundary cache after the command was Run and attempts
|
||||
// to send the current persona to any running daemon.
|
||||
type CommandWrapper struct {
|
||||
WrappableCommand
|
||||
@@ -50,8 +50,8 @@ func Wrap(c func() WrappableCommand) cli.CommandFactory {
|
||||
}
|
||||
}
|
||||
|
||||
// Run runs the wrapped command and then attempts to start the boundary daemon and send
|
||||
// the current persona
|
||||
// Run runs the wrapped command and then attempts to start the boundary cache and send
|
||||
// the current token to it.
|
||||
func (w *CommandWrapper) Run(args []string) int {
|
||||
// potentially intercept the token in case it isn't stored in the keyring
|
||||
var token string
|
||||
|
||||
Reference in new issue
Block a user