Documentation ¶
Overview ¶
Package remotescmd implements the 'inertia [remote]' subcommands
Index ¶
- func AttachEnvCmd(host *HostCmd)
- func AttachRemoteHostCmd(inertia *core.Cmd, opts CmdOptions, hidden ...bool)
- func AttachRemotesCmds(root *core.Cmd, validateConfig bool)
- func AttachTotpCmd(root *UserCmd)
- func AttachUserCmd(host *HostCmd)
- type CmdOptions
- type EnvCmd
- type HostCmd
- type UserCmd
- type UserTotpCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachEnvCmd ¶
func AttachEnvCmd(host *HostCmd)
AttachEnvCmd attaches the 'env' subcommands to the given host
func AttachRemoteHostCmd ¶
func AttachRemoteHostCmd( inertia *core.Cmd, opts CmdOptions, hidden ...bool, )
AttachRemoteHostCmd attaches a subcommand for a configured remote host to the given parent
func AttachRemotesCmds ¶
AttachRemotesCmds reads configuration to attach a child command for each configured remote in the configuration
func AttachTotpCmd ¶
func AttachTotpCmd(root *UserCmd)
AttachTotpCmd attaches the 'totp' subcommands to given parent
func AttachUserCmd ¶
func AttachUserCmd(host *HostCmd)
AttachUserCmd attaches the 'user' subcommands to the given parent
Types ¶
type CmdOptions ¶
CmdOptions denotes options for individual host subcommands
type UserTotpCmd ¶
UserTotpCmd is the parent class for the 'user totp' subcommands
Click to show internal directories.
Click to hide internal directories.