cli

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2026 License: GPL-3.0 Imports: 23 Imported by: 2

README

client/cli

Overview

Defines the Cobra root command and CLI initialization for the Sliver client binary. Sets up persistent flags, environment bootstrapping, and command wiring. Core logic addresses console, implant, import, and version within the cli package.

Go Files

  • cli.go – Builds the root Cobra command, wires global flags, and starts the console UI.
  • config.go – Parses CLI configuration files and environment variables used during startup.
  • console.go – Launches the interactive console mode and handles profile selection.
  • implant.go – Implements CLI entry points for implant-specific operations without launching the console.
  • import.go – Provides import routines for bringing external state into the client (e.g., implants or loot).
  • version.go – Prints version/build information for the CLI binary.

Documentation

Index

Constants

View Source
const RCFlagName = "rc"

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute - Execute root command.

func ReadRCScript added in v1.6.2

func ReadRCScript(cmd *cobra.Command) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL